Xiaomi zigbee switch configure for home assistant by Zigbee2mqtt - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1) +--- Forum: DIY Project (https://www.kincony.com/forum/forumdisplay.php?fid=3) +--- Thread: Xiaomi zigbee switch configure for home assistant by Zigbee2mqtt (/showthread.php?tid=315) |
Xiaomi zigbee switch configure for home assistant by Zigbee2mqtt - admin - 06-27-2021 sensor: - platform: mqtt name: Voltage state_topic: "zigbee2mqtt/0x00158d00067ec29e" value_template: "{{ value_json.battery }}" unit_of_measurement: "%" availability_topic: "zigbee2mqtt/bridge/state" payload_available: "online" payload_not_available: "offline" qos: 0 device_class: battery - platform: mqtt name: signal state_topic: "zigbee2mqtt/0x00158d00067ec29e" value_template: "{{ value_json.linkquality }}" availability_topic: "zigbee2mqtt/bridge/state" payload_available: "online" payload_not_available: "offline" qos: 0 device_class: signal_strength - platform: mqtt name: click state_topic: "zigbee2mqtt/0x00158d00067ec29e" value_template: "{{ value_json.click }}" availability_topic: "zigbee2mqtt/bridge/state" payload_available: "online" payload_not_available: "offline" RE: Xiaomi zigbee switch configure for home assistant by Zigbee2mqtt - admin - 06-27-2021 ID need replace with your device. such as '0x00158d00067ec29e' |