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


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

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

  


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM