Could you tell me which topic of zegbee2mqtt says that?
For instance, using MQTT Explorer I found this one:
* homeassistant/select/0x84fd27fffe47d363/power_on_behavior/config
Code: Select all
{
"availability": [
{
"topic": "zigbee2mqtt/bridge/state",
"value_template": "{{ value_json.state }}"
},
{
"topic": "zigbee2mqtt/pwr_bookshelf1/availability",
"value_template": "{{ value_json.state }}"
}
],
"availability_mode": "all",
"brightness": true,
"brightness_scale": 254,
"command_topic": "zigbee2mqtt/pwr_bookshelf1/set",
"device": {
"identifiers": [
"zigbee2mqtt_0x84fd27fffe47d363"
],
"manufacturer": "IKEA",
"model": "TRADFRI driver for wireless control (30 watt) (ICPSHC24-30EU-IL-1)",
"name": "pwr_bookshelf1",
"sw_version": "1.2.245"
},
"effect": true,
"effect_list": [
"blink",
"breathe",
"okay",
"channel_change",
"finish_effect",
"stop_effect"
],
"name": "pwr_bookshelf1",
"schema": "json",
"state_topic": "zigbee2mqtt/pwr_bookshelf1",
"unique_id": "0x84fd27fffe47d363_light_zigbee2mqtt"
}
and this one:
* homeassistant/light/0x84fd27fffe47d363/light/config
Code: Select all
{
"availability": [
{
"topic": "zigbee2mqtt/bridge/state",
"value_template": "{{ value_json.state }}"
},
{
"topic": "zigbee2mqtt/pwr_bookshelf1/availability",
"value_template": "{{ value_json.state }}"
}
],
"availability_mode": "all",
"brightness": true,
"brightness_scale": 254,
"command_topic": "zigbee2mqtt/pwr_bookshelf1/set",
"device": {
"identifiers": [
"zigbee2mqtt_0x84fd27fffe47d363"
],
"manufacturer": "IKEA",
"model": "TRADFRI driver for wireless control (30 watt) (ICPSHC24-30EU-IL-1)",
"name": "pwr_bookshelf1",
"sw_version": "1.2.245"
},
"effect": true,
"effect_list": [
"blink",
"breathe",
"okay",
"channel_change",
"finish_effect",
"stop_effect"
],
"name": "pwr_bookshelf1",
"schema": "json",
"state_topic": "zigbee2mqtt/pwr_bookshelf1",
"unique_id": "0x84fd27fffe47d363_light_zigbee2mqtt"
}
or maybe this one (I just left the data of "pwr_bookshelf1" and cut others):
* zigbee2mqtt/bridge/devices
Code: Select all
...
{
"date_code": "20170529",
"definition": {
"description": "TRADFRI driver for wireless control (30 watt)",
"exposes": [
{
"features": [
{
"access": 7,
"description": "On/off state of this light",
"name": "state",
"property": "state",
"type": "binary",
"value_off": "OFF",
"value_on": "ON",
"value_toggle": "TOGGLE"
},
{
"access": 7,
"description": "Brightness of this light",
"name": "brightness",
"property": "brightness",
"type": "numeric",
"value_max": 254,
"value_min": 0
}
],
"type": "light"
},
{
"access": 2,
"description": "Triggers an effect on the light (e.g. make light blink for a few seconds)",
"name": "effect",
"property": "effect",
"type": "enum",
"values": [
"blink",
"breathe",
"okay",
"channel_change",
"finish_effect",
"stop_effect"
]
},
{
"access": 7,
"description": "Controls the behavior when the device is powered on after power loss",
"name": "power_on_behavior",
"property": "power_on_behavior",
"type": "enum",
"values": [
"off",
"on",
"toggle",
"previous"
]
},
{
"access": 1,
"description": "Link quality (signal strength)",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "ICPSHC24-30EU-IL-1",
"options": [
{
"access": 2,
"description": "Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes. Defaults to `0` (no transition).",
"name": "transition",
"property": "transition",
"type": "numeric",
"value_min": 0
},
{
"access": 2,
"description": "State actions will also be published as 'action' when true (default false).",
"name": "state_action",
"property": "state_action",
"type": "binary",
"value_off": false,
"value_on": true
}
],
"supports_ota": true,
"vendor": "IKEA"
},
"disabled": false,
"endpoints": {
"1": {
"bindings": [],
"clusters": {
"input": [
"genBasic",
"genIdentify",
"genGroups",
"genScenes",
"genOnOff",
"genLevelCtrl",
"haDiagnostic",
"touchlink"
],
"output": [
"genScenes",
"genOta",
"genPollCtrl",
"touchlink"
]
},
"configured_reportings": [],
"scenes": []
}
},
"friendly_name": "pwr_bookshelf1",
"ieee_address": "0x84fd27fffe47d363",
"interview_completed": true,
"interviewing": false,
"manufacturer": "IKEA of Sweden",
"model_id": "TRADFRI Driver 30W",
"network_address": 58868,
"power_source": "Mains (single phase)",
"software_build_id": "1.2.245",
"supported": true,
"type": "Router"
}
]