openhab-addons/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airmonitor.v1.json
Marcel 03dd4d491f
[miio] Update many channels with tags, categories & QuantityTypes (#9384)
* [miio] Update many channels with tags, categories & QuantityTypes
* [miio] remove unit from dimmers
* [miio] fix readme mappings for channels

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-27 21:25:15 -08:00

100 lines
1.9 KiB
JSON

{
"deviceMapping": {
"id": [
"zhimi.airmonitor.v1"
],
"channels": [
{
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
{
"command": "set_power",
"parameterType": "ONOFF"
}
],
"category": "switch",
"tags": [
"Switch"
]
},
{
"property": "aqi",
"friendlyName": "Air Quality Index",
"channel": "aqi",
"channelType": "aqi",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
"actions": [],
"tags": [
"Measurement"
]
},
{
"property": "battery",
"friendlyName": "Battery",
"channel": "battery",
"channelType": "system:battery-level",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
"actions": []
},
{
"property": "usb_state",
"friendlyName": "USB State",
"channel": "usb_state",
"type": "Switch",
"refresh": true,
"ChannelGroup": "Status",
"actions": []
},
{
"property": "time_state",
"friendlyName": "Time State",
"channel": "time_state",
"type": "Switch",
"refresh": true,
"ChannelGroup": "Status",
"actions": []
},
{
"property": "night_state",
"friendlyName": "Night State",
"channel": "night_state",
"type": "Switch",
"refresh": true,
"actions": [
{
"command": "set_night_state",
"parameterType": "ONOFF"
}
]
},
{
"property": "night_beg_time",
"friendlyName": "Night Begin Time",
"channel": "night_begin",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
"actions": []
},
{
"property": "night_end_time",
"friendlyName": "Night End Time",
"channel": "night_end",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
"actions": []
}
]
}
}