(二 -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