I have more than 50 light’s and wall sockets connected via zigbee2mqqtt using homeassistance discovery, so i only pick channel “state” and link an switch item to it. This is now working for 2 different plugs (both the same manufacturer) everything is configured the same way i used to…
UID: mqtt:homeassistant_zigbee2mqtt_5F0xa4c138abf70efb2e:c1d3dc6fc0:zigbee2mqtt_5F0xa4c138abf70efb2e
label: Wall_Plug_1 (Lock, 11x Sensor, Switch, number, 2x select, update)
thingTypeUID: mqtt:homeassistant_zigbee2mqtt_5F0xa4c138abf70efb2e
configuration:
topics:
- binary_sensor/0xa4c138abf70efb2e/update_available
- lock/0xa4c138abf70efb2e/child_lock
- number/0xa4c138abf70efb2e/countdown
- select/0xa4c138abf70efb2e/indicator_mode
- select/0xa4c138abf70efb2e/power_outage_memory
- sensor/0xa4c138abf70efb2e/countdown
- sensor/0xa4c138abf70efb2e/current
- sensor/0xa4c138abf70efb2e/energy
- sensor/0xa4c138abf70efb2e/indicator_mode
- sensor/0xa4c138abf70efb2e/last_seen
- sensor/0xa4c138abf70efb2e/linkquality
- sensor/0xa4c138abf70efb2e/power
- sensor/0xa4c138abf70efb2e/power_outage_memory
- sensor/0xa4c138abf70efb2e/update_state
- sensor/0xa4c138abf70efb2e/voltage
- switch/0xa4c138abf70efb2e/switch
- update/0xa4c138abf70efb2e/update
doUpdate: false
basetopic: homeassistant
bridgeUID: mqtt:broker:c1d3dc6fc0
channels:
- id: 0xa4c138abf70efb2e_5Fchild_5Flock_5Fzigbee2mqtt#lock
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Fchild_5Flock_5Fzigbee2mqtt_lock
label: Lock
configuration:
component: lock
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","command_topic":"zigbee2mqtt/Wall_Plug_1/set/child_lock","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","name":"Child
lock","object_id":"wall_plug_1_child_lock","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"payload_lock":"LOCK","payload_unlock":"UNLOCK","state_locked":"LOCK","state_topic":"zigbee2mqtt/Wall_Plug_1","state_unlocked":"UNLOCK","unique_id":"0xa4c138abf70efb2e_child_lock_zigbee2mqtt","value_template":"{{
value_json.child_lock }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: child_lock
- id: 0xa4c138abf70efb2e_5Fchild_5Flock_5Fzigbee2mqtt#state
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Fchild_5Flock_5Fzigbee2mqtt_state
label: State
configuration:
component: lock
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","command_topic":"zigbee2mqtt/Wall_Plug_1/set/child_lock","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","name":"Child
lock","object_id":"wall_plug_1_child_lock","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"payload_lock":"LOCK","payload_unlock":"UNLOCK","state_locked":"LOCK","state_topic":"zigbee2mqtt/Wall_Plug_1","state_unlocked":"UNLOCK","unique_id":"0xa4c138abf70efb2e_child_lock_zigbee2mqtt","value_template":"{{
value_json.child_lock }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: child_lock
- id: 0xa4c138abf70efb2e_5Fcountdown_5Fzigbee2mqtt#number
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Fcountdown_5Fzigbee2mqtt_number
label: Countdown
configuration:
component: number
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","command_topic":"zigbee2mqtt/Wall_Plug_1/set/countdown","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","max":43200,"min":0,"name":"Countdown","object_id":"wall_plug_1_countdown","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/Wall_Plug_1","step":1,"unique_id":"0xa4c138abf70efb2e_countdown_zigbee2mqtt","unit_of_measurement":"s","value_template":"{{
value_json.countdown }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: countdown
- id: 0xa4c138abf70efb2e_5Fcountdown_5Fzigbee2mqtt#sensor
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Fcountdown_5Fzigbee2mqtt_sensor
label: Countdown
configuration:
component: sensor
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"enabled_by_default":false,"json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","name":"Countdown","object_id":"wall_plug_1_countdown","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_countdown_zigbee2mqtt","unit_of_measurement":"s","value_template":"{{
value_json.countdown }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: countdown
- id: 0xa4c138abf70efb2e_5Fcurrent_5Fzigbee2mqtt#sensor
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Fcurrent_5Fzigbee2mqtt_sensor
label: MQTT Sensor
configuration:
component: sensor
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"device_class":"current","enabled_by_default":false,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","object_id":"wall_plug_1_current","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{
value_json.current }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: current
- id: 0xa4c138abf70efb2e_5Fenergy_5Fzigbee2mqtt#sensor
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Fenergy_5Fzigbee2mqtt_sensor
label: MQTT Sensor
configuration:
component: sensor
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"device_class":"energy","enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","object_id":"wall_plug_1_energy","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_class":"total_increasing","state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{
value_json.energy }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: energy
- id: 0xa4c138abf70efb2e_5Findicator_5Fmode_5Fzigbee2mqtt#select
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Findicator_5Fmode_5Fzigbee2mqtt_select
label: Indicator mode
configuration:
component: select
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","command_topic":"zigbee2mqtt/Wall_Plug_1/set/indicator_mode","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","name":"Indicator
mode","object_id":"wall_plug_1_indicator_mode","options":["off","off/on","on/off","on"],"origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_indicator_mode_zigbee2mqtt","value_template":"{{
value_json.indicator_mode }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: indicator_mode
- id: 0xa4c138abf70efb2e_5Findicator_5Fmode_5Fzigbee2mqtt#sensor
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Findicator_5Fmode_5Fzigbee2mqtt_sensor
label: Indicator mode
configuration:
component: sensor
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"enabled_by_default":false,"json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","name":"Indicator
mode","object_id":"wall_plug_1_indicator_mode","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_indicator_mode_zigbee2mqtt","value_template":"{{
value_json.indicator_mode }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: indicator_mode
- id: 0xa4c138abf70efb2e_5Flast_5Fseen_5Fzigbee2mqtt#sensor
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Flast_5Fseen_5Fzigbee2mqtt_sensor
label: Last seen
configuration:
component: sensor
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"device_class":"timestamp","enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","name":"Last
seen","object_id":"wall_plug_1_last_seen","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_last_seen_zigbee2mqtt","value_template":"{{
value_json.last_seen }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: last_seen
- id: 0xa4c138abf70efb2e_5Flinkquality_5Fzigbee2mqtt#sensor
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Flinkquality_5Fzigbee2mqtt_sensor
label: Linkquality
configuration:
component: sensor
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","name":"Linkquality","object_id":"wall_plug_1_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{
value_json.linkquality }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: linkquality
- id: 0xa4c138abf70efb2e_5Fpower_5Foutage_5Fmemory_5Fzigbee2mqtt#sensor
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Fpower_5Foutage_5Fmemory_5Fzigbee2mqtt_sensor
label: Power outage memory
configuration:
component: sensor
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:power-settings","json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","name":"Power
outage
memory","object_id":"wall_plug_1_power_outage_memory","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_power_outage_memory_zigbee2mqtt","value_template":"{{
value_json.power_outage_memory }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: power_outage_memory
- id: 0xa4c138abf70efb2e_5Fpower_5Fzigbee2mqtt#sensor
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Fpower_5Fzigbee2mqtt_sensor
label: MQTT Sensor
configuration:
component: sensor
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"device_class":"power","enabled_by_default":true,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","object_id":"wall_plug_1_power","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{
value_json.power }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: power
- id: 0xa4c138abf70efb2e_5Fupdate_5Fstate_5Fzigbee2mqtt#sensor
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Fupdate_5Fstate_5Fzigbee2mqtt_sensor
label: Update state
configuration:
component: sensor
config: "{\"availability\":[{\"topic\":\"zigbee2mqtt/bridge/state\"},{\"topic\":\
\"zigbee2mqtt/Wall_Plug_1/availability\"}],\"availability_mode\":\"all\
\",\"device\":{\"identifiers\":[\"zigbee2mqtt_0xa4c138abf70efb2e\"],\"m\
anufacturer\":\"Tuya\",\"model\":\"Smart plug (with power monitoring)
(TS011F_plug_1)\",\"name\":\"Wall_Plug_1\",\"via_device\":\"zigbee2mqtt\
_bridge_0xe8e07efffec2e1e6\"},\"enabled_by_default\":false,\"entity_cat\
egory\":\"diagnostic\",\"icon\":\"mdi:update\",\"json_attributes_topic\
\":\"zigbee2mqtt/Wall_Plug_1\",\"name\":\"Update
state\",\"object_id\":\"wall_plug_1_update_state\",\"origin\":{\"name\":\
\"Zigbee2MQTT\",\"sw\":\"1.41.0\",\"url\":\"https://www.zigbee2mqtt.io\
\"},\"state_topic\":\"zigbee2mqtt/Wall_Plug_1\",\"unique_id\":\"0xa4c13\
8abf70efb2e_update_state_zigbee2mqtt\",\"value_template\":\"{{
value_json['update']['state'] }}\"}"
nodeid: "0xa4c138abf70efb2e"
objectid: update_state
- id: 0xa4c138abf70efb2e_5Fvoltage_5Fzigbee2mqtt#sensor
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Fvoltage_5Fzigbee2mqtt_sensor
label: MQTT Sensor
configuration:
component: sensor
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","object_id":"wall_plug_1_voltage","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{
value_json.voltage }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: voltage
- id: sensor
channelTypeUID: mqtt:null_sensor
label: value
configuration:
component: binary_sensor
config: "{\"availability\":[{\"topic\":\"zigbee2mqtt/bridge/state\"},{\"topic\":\
\"zigbee2mqtt/Wall_Plug_1/availability\"}],\"availability_mode\":\"all\
\",\"device\":{\"identifiers\":[\"zigbee2mqtt_0xa4c138abf70efb2e\"],\"m\
anufacturer\":\"Tuya\",\"model\":\"Smart plug (with power monitoring)
(TS011F_plug_1)\",\"name\":\"Wall_Plug_1\",\"via_device\":\"zigbee2mqtt\
_bridge_0xe8e07efffec2e1e6\"},\"device_class\":\"update\",\"enabled_by_\
default\":false,\"entity_category\":\"diagnostic\",\"json_attributes_to\
pic\":\"zigbee2mqtt/Wall_Plug_1\",\"name\":null,\"object_id\":\"wall_pl\
ug_1_update_available\",\"origin\":{\"name\":\"Zigbee2MQTT\",\"sw\":\"1\
.41.0\",\"url\":\"https://www.zigbee2mqtt.io\"},\"payload_off\":false,\
\"payload_on\":true,\"state_topic\":\"zigbee2mqtt/Wall_Plug_1\",\"uniqu\
e_id\":\"0xa4c138abf70efb2e_update_available_zigbee2mqtt\",\"value_temp\
late\":\"{{ value_json['update']['state'] == \\\"available\\\" }}\"}"
nodeid: "0xa4c138abf70efb2e"
objectid: update_available
- id: switch
channelTypeUID: mqtt:null_switch
label: state
configuration:
component: switch
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","command_topic":"zigbee2mqtt/Wall_Plug_1/set","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","name":null,"object_id":"wall_plug_1","origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_switch_zigbee2mqtt","value_template":"{{
value_json.state }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: switch
- id: 0xa4c138abf70efb2e_5Fpower_5Foutage_5Fmemory_5Fzigbee2mqtt#select
channelTypeUID: mqtt:0xa4c138abf70efb2e_5Fpower_5Foutage_5Fmemory_5Fzigbee2mqtt_select
label: Power outage memory
configuration:
component: select
config: '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/Wall_Plug_1/availability"}],"availability_mode":"all","command_topic":"zigbee2mqtt/Wall_Plug_1/set/power_outage_memory","device":{"identifiers":["zigbee2mqtt_0xa4c138abf70efb2e"],"manufacturer":"Tuya","model":"Smart
plug (with power monitoring)
(TS011F_plug_1)","name":"Wall_Plug_1","via_device":"zigbee2mqtt_bridge_0xe8e07efffec2e1e6"},"enabled_by_default":true,"entity_category":"config","icon":"mdi:power-settings","json_attributes_topic":"zigbee2mqtt/Wall_Plug_1","name":"Power
outage
memory","object_id":"wall_plug_1_power_outage_memory","options":["on","off","restore"],"origin":{"name":"Zigbee2MQTT","sw":"1.41.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/Wall_Plug_1","unique_id":"0xa4c138abf70efb2e_power_outage_memory_zigbee2mqtt","value_template":"{{
value_json.power_outage_memory }}"}'
nodeid: "0xa4c138abf70efb2e"
objectid: power_outage_memory
2024-12-03 15:27:34.558 [WARN ] [qtt.generic.AbstractMQTTThingHandler] - Channel mqtt:homeassistant_zigbee2mqtt_5F0xa4c138abf70efb2e:c1d3dc6fc0:zigbee2mqtt_5F0xa4c138abf70efb2e:switch not supported!
2024-12-03 15:27:34.824 [WARN ] [qtt.generic.AbstractMQTTThingHandler] - Channel mqtt:homeassistant_zigbee2mqtt_5F0xa4c138abf70efb2e:c1d3dc6fc0:zigbee2mqtt_5F0xa4c138abf70efb2e:switch not supported!