Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xiaomi Air Conditioning Companion2集成添加多个设备只有一个可用 #23

Open
oliver-ok opened this issue Jul 15, 2021 · 1 comment

Comments

@oliver-ok
Copy link

oliver-ok commented Jul 15, 2021

Xiaomi Air Conditioning Companion 2集成,配置米家空调伴侣2代
configuration.yaml文件配置如下:

climate:   
    platform: xiaomi_miio_airconditioningcompanionmcn02
    name: A空调
    host: 192.168.1.157
    token: A空调的token
    target_sensor: sensor.temperature_158d0001f53706
    scan_interval: 60

    name: B空调
    host: 192.168.1.205
    token: B空调的token
    target_sensor: sensor.temperature_158d0001f53706
    scan_interval: 60
   
    name: C空调
    host: 192.168.1.162
    token: C空调的token
    target_sensor: sensor.temperature_158d0001f53706
    scan_interval: 60

以上配置,只有放在最后的空调可以生效,放在前面的实体显示不可用。例如以上的配置,只有C空调可用,A和B不可用,如果A空调放在最后则只有A空调可用。

以上配置哪里语法错误呢?反复尝试都找不到方法。感谢指点!

@qianyuanaini
Copy link

platform: xiaomi_miio_airconditioningcompanionmcn02
这句 每一个设备都得写

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants