openhab-addons/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.rwread.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

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"
}
]
}
]
}
}