mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-11 22:50:00 +01:00
96 lines
1.8 KiB
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|