mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-11 22:50:00 +01:00
03dd4d491f
* [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>
99 lines
1.7 KiB
JSON
99 lines
1.7 KiB
JSON
{
|
|
"deviceMapping": {
|
|
"id": [
|
|
"philips.light.rwread"
|
|
],
|
|
"channels": [
|
|
{
|
|
"property": "power",
|
|
"friendlyName": "Power",
|
|
"channel": "power",
|
|
"channelType": "power",
|
|
"type": "Switch",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_power",
|
|
"parameterType": "ONOFF"
|
|
}
|
|
],
|
|
"category": "switch",
|
|
"tags": [
|
|
"Switch"
|
|
]
|
|
},
|
|
{
|
|
"property": "bright",
|
|
"friendlyName": "Brightness",
|
|
"channel": "brightness",
|
|
"type": "Dimmer",
|
|
"refresh": true,
|
|
"ChannelGroup": "actions",
|
|
"actions": [
|
|
{
|
|
"command": "set_bright",
|
|
"parameterType": "NUMBER",
|
|
"condition": {
|
|
"name": "BrightnessExisting"
|
|
}
|
|
},
|
|
{
|
|
"command": "set_power",
|
|
"parameterType": "ONOFF",
|
|
"condition": {
|
|
"name": "BrightnessOnOff"
|
|
}
|
|
}
|
|
],
|
|
"category": "light",
|
|
"tags": [
|
|
"Control",
|
|
"Light"
|
|
]
|
|
},
|
|
{
|
|
"property": "snm",
|
|
"friendlyName": "Scene",
|
|
"channel": "scene",
|
|
"channelType": "scene",
|
|
"type": "Number",
|
|
"refresh": true,
|
|
"ChannelGroup": "actions",
|
|
"actions": [
|
|
{
|
|
"command": "apply_scene",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "flm",
|
|
"friendlyName": "Follow Me",
|
|
"channel": "flm",
|
|
"type": "Number",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_flmvalue",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "dv",
|
|
"friendlyName": "DV",
|
|
"channel": "dv",
|
|
"channelType": "dv",
|
|
"type": "Number",
|
|
"refresh": true,
|
|
"ChannelGroup": "actions",
|
|
"actions": [
|
|
{
|
|
"parameterType": "EMPTY"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|