Meta Data
Meta Data
"z2mExposes": [
{
"type": "switch",
"endpoint": "l1",
"features": [
{
"name": "state",
"type": "binary",
"label": "State",
"access": 7,
"endpoint": "l1",
"property": "state_l1",
"value_on": "ON",
"value_off": "OFF",
"description": "On/off state of the switch",
"value_toggle": "TOGGLE"
}
]
},
{
"name": "indicator_luminance_level",
"type": "enum",
"label": "Indicator luminance level",
"access": 7,
"values": [
"0",
"20",
"40",
"60",
"80",
"100"
],
"property": "indicator_luminance_level",
"description": "Set indicator luminance Level"
},
{
"name": "indicator_color",
"type": "enum",
"label": "Indicator color",
"access": 7,
"values": [
"white",
"blue"
],
"property": "indicator_color",
"description": "Set indicator color"
},
{
"name": "indicator_mode",
"type": "enum",
"label": "Indicator mode",
"access": 7,
"values": [
"reverse_with_load",
"consistent_with_load",
"always_off",
"always_on"
],
"property": "indicator_mode",
"description": "Set indicator mode for switch"
},
{
"name": "linkquality",
"type": "numeric",
"unit": "lqi",
"label": "Linkquality",
"access": 1,
"category": "diagnostic",
"property": "linkquality",
"value_max": 255,
"value_min": 0,
"description": "Link quality (signal strength)"
}
],
"z2mOptions": [
{
"name": "state_action",
"type": "binary",
"label": "State action",
"access": 2,
"property": "state_action",
"value_on": true,
"value_off": false,
"description": "State actions will also be published as 'action' when true
(default false)."
}
]
}