openhab-addons/bundles/org.openhab.binding.miio/src/main/resources/database/090615.switch.xswitch03.json
Kai Kreuzer 6df6783b60 added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-21 03:37:19 +02:00

96 lines
1.8 KiB
JSON

{
"deviceMapping": {
"id": [
"090615.switch.xswitch03"
],
"propertyMethod": "get_prop",
"maxProperties": 1,
"channels": [
{
"property": "switch1",
"friendlyName": "Switch 1",
"channel": "switch1state",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
{
"command": "SetSwitch1",
"parameterType": "NUMBER"
}
]
},
{
"property": "switch2",
"friendlyName": "Switch 2",
"channel": "switch2state",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
{
"command": "SetSwitch2",
"parameterType": "NUMBER"
}
]
},
{
"property": "switch3",
"friendlyName": "Switch 3",
"channel": "switch3state",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
{
"command": "SetSwitch3",
"parameterType": "NUMBER"
}
]
},
{
"property": "switchname1",
"friendlyName": "Switch Name 1",
"channel": "switch1name",
"type": "String",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
{
"command": "SetSwtichname1",
"parameterType": "STRING"
}
]
},
{
"property": "switchname2",
"friendlyName": "Switch Name 2",
"channel": "switch2name",
"type": "String",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
{
"command": "SetSwtichname2",
"parameterType": "STRING"
}
]
},
{
"property": "switchname3",
"friendlyName": "Switch Name 3",
"channel": "switch3name",
"type": "String",
"refresh": true,
"ChannelGroup": "actions",
"actions": [
{
"command": "SetSwtichname3",
"parameterType": "STRING"
}
]
}
]
}
}