1
21
183
注册会员
#MQTT mqtt: broker: 10.0.1.200 port: 1883 client_id: home-assistant-1 keepalive: 60 username: root password: password discovery: true protocol: 3.1.1 #SONOFF switch: - platform: mqtt name: "吊扇" state_topic: "stat/2F-FAN/POWER" command_topic: "cmnd/2F-FAN/POWER" qos: 1 payload_on: "ON" payload_off: "OFF" retain: true
使用道具 举报
12
545
2041
金牌会员
潇洒哥er 发表于 2018-4-6 11:48 你会不会用了自定义分组然后忘了把这个switch组件加到自定义的里面去。
14
266
1642
论坛技术达人
fan: - platform: mqtt mqtt name: "FAN" state_topic: "stat/SONOFF/POWER" command_topic: "cmnd/SONOFF/POWER" qos: 1 payload_on: "ON" payload_off: "OFF" retain: true
本版积分规则 发表回复 回帖后跳转到最后一页
教程高产大神,简直就是为了教程而生~
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2024-12-24 02:20 , Processed in 0.096754 second(s), 32 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.