• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
MKT-porter
博客园    首页    新随笔    联系   管理    订阅  订阅
(二 -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

  

posted on 2018-08-26 11:56  MKT-porter  阅读(1228)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3