mac-zhou / midea-ac-py

Home Assistant Custom Integration for Midea Group(Hualing, Senville, Klimaire, AirCon, Century, Pridiom, Thermocore, Comfee, Toshiba, Carrier, Goodman, Friedrich, Samsung, Kenmore, Trane, Lennox, LG and much more) Air Conditioners via LAN.
MIT License
519 stars 101 forks source link

error when adding multiple midea AC #199

Closed Karolusin closed 1 year ago

Karolusin commented 1 year ago

Describe the bug (描述一下问题) When i am adding more than one AC only the last one is working, rest are no longer avanible.

Screenshots / Logs / Pcap File(屏幕截图/日志/抓包文件) If applicable, add screenshots or your home-assistant log file or pcap file to help explain your problem. 请提交相关截图,日志,抓包让开发者能够更快的解决问题 image image

Versions (版本信息)

paradox37 commented 1 year ago

This is not a bug. Your configuration is wrong. This is how it should be:

climate:
  - platform: midea_ac
    host: 192.168.1.100
    id: 123456789012345
  - platform: midea_ac
    host: 192.168.1.100
    id: 123456789012345
Karolusin commented 1 year ago

Ahh sorry, my bad ! Thanks will check that shortly but for sure will work now. Have a nice week !