本帖最后由 Clark 于 2021-7-15 12:47 编辑
climate:
- platform: xiaomi_miio_airconditioningcompanionmcn02
name: A空调
host: 192.168.1.157
token: A空调token
target_sensor: sensor.temperature_158d0001f53706
scan_interval: 60
- platform: xiaomi_miio_airconditioningcompanionmcn02
name: B空调
host: 192.168.1.205
token: B空调token
target_sensor: sensor.temperature_158d0001f53706
scan_interval: 60
- platform: xiaomi_miio_airconditioningcompanionmcn02
name: C空调
host: 192.168.1.162
token: C空调token
target_sensor: sensor.temperature_158d0001f53706
scan_interval: 60
按照以上方式终于搞定过了,貌似每一个空格,以及"-"符号的位置,都会影响到结果。
|