# 小米台灯和小米灯带 # 注意:需要先再yeelight应用内打开这两个的“局域网控制”权限 yeelight: devices: 192.168.124.10: name: light model: lamp1 use_music_mode: true save_on_change: true 192.168.124.13: name: dengdai model: lamp1 use_music_mode: true save_on_change: true #小米插座(wifi版) switch: - platform: xiaomi_miio name: "Xiaomi Smart WiFi Socket" host: 192.168.124.6 token: xxxxxxxxxxxxxxxxxxxxxx
获取token可以使用hass官方这个方案:https://www.home-assistant.io/integrations/xiaomi_miio#retrieving-the-access-token
原创文章,作者:geekgao,如若转载,请注明出处:https://www.geekgao.cn/archives/2852