(二 -3-3) 天猫精灵接入Home Assistant-自动发现Mqtt设备-自动生成配置信息

http://www.hassmart.com/products/switches/#tab=config

(二 -3-3) 天猫精灵接入Home Assistant-自动发现Mqtt设备-自动生成配置信息

switch:
- platform: mqtt
name: keting
state_topic: hassmart/switch/hassmart_3key_aaaaaa_1/state
command_topic: hassmart/switch/hassmart_3key_aaaaaa_1/set
qos: 1
retain: false
- platform: mqtt
name: chufang
state_topic: hassmart/switch/hassmart_3key_aaaaaa_2/state
command_topic: hassmart/switch/hassmart_3key_aaaaaa_2/set
qos: 1
retain: false
- platform: mqtt
name: woshi
state_topic: hassmart/switch/hassmart_3key_aaaaaa_3/state
command_topic: hassmart/switch/hassmart_3key_aaaaaa_3/set
qos: 1
retain: false

  

上一篇:mysql中列转行


下一篇:mysql中列的增删改