mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-11 22:50:00 +01:00
* [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>
59 lines
1.0 KiB
JSON
59 lines
1.0 KiB
JSON
{
|
|
"deviceMapping": {
|
|
"id": [
|
|
"chuangmi.plug.m1",
|
|
"chuangmi.plug.m3",
|
|
"chuangmi.plug.hmi205"
|
|
],
|
|
"channels": [
|
|
{
|
|
"property": "power",
|
|
"friendlyName": "Power",
|
|
"channel": "power",
|
|
"channelType": "power",
|
|
"type": "Switch",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_power",
|
|
"parameterType": "ONOFF"
|
|
}
|
|
],
|
|
"category": "switch",
|
|
"tags": [
|
|
"Switch"
|
|
]
|
|
},
|
|
{
|
|
"property": "temperature",
|
|
"friendlyName": "Temperature",
|
|
"channel": "temperature",
|
|
"channelType": "temperatureC",
|
|
"type": "Number:Temperature",
|
|
"unit": "CELCIUS",
|
|
"refresh": true,
|
|
"actions": [],
|
|
"category": "temperature",
|
|
"tags": [
|
|
"Measurement",
|
|
"Temperature"
|
|
]
|
|
},
|
|
{
|
|
"property": "wifi_led",
|
|
"friendlyName": "Indicator light",
|
|
"channel": "led",
|
|
"channelType": "led",
|
|
"type": "Switch",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_wifi_led",
|
|
"parameterType": "ONOFF"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|