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

Syntax for multiple Aircon units #192

Closed stevecopecs closed 1 year ago

stevecopecs commented 1 year ago

Describe the bug (描述一下问题) A clear and concise description of what the bug is. I have two Midea units which I want to operate from within HA Individually they work correctly with a flat (non sub-nested) yaml configuration, exactly as you have in your instructions I cannot figure out the yaml syntax for multiple units

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

Versions (版本信息)

stevecopecs commented 1 year ago

Hi all, I'm still battling with this. Anyone able to help with the syntax for multiple units please ?

mill1000 commented 1 year ago

Pretty sure it's something like

climate:
  - platform: midea_ac
    host: <unit1 ip address>
    id: <unit1 ID>
  - platform: midea_ac
    host: <unit2 ip address>
    id: <unit2 ID>
stevecopecs commented 1 year ago

THANK you @mill1000 , much much appreciated