小米的双开开关通过zigbee2mqtt如何接入ha? - 『HomeAssistant』求助&解答专区 - 『瀚思彼岸』» 智能家居技术论坛 - Powered by Discuz! (hassbian.com)
集成的mqtt没有双开的按钮啊。。。
很早以前的ha系统,倒是手动添加了,但是升级以后提示代码错误(value_template)
light:
# xiaoyimao-guodao
- platform: "mqtt"
state_topic: "zigbee2mqtt/2l_xiaoyimao"
availability_topic: "zigbee2mqtt/bridge/state"
payload_off: "OFF"
payload_on: "ON"
value_template: "{{ value_json.state_right }}"
command_topic: "zigbee2mqtt/2l_xiaoyimao/right/set"
型号是小米的D1双开开关,官方介绍如下,实在不是特别懂MQTT,求个接入HA的配置
Xiaomi QBKG22LM control via MQTT | Zigbee2MQTT
|