TheNoctambulist / hass-airtouch

Home Assistant integration for the Polyaire AirTouch AC Controllers
MIT License
15 stars 1 forks source link

Expose heat/cool settings on zone entities #6

Closed cemilbrowne closed 2 months ago

cemilbrowne commented 2 months ago

Checklist

Proposal

I'm a little biased - I wrote the Airtouch homebridge addon. :)

In order to expose Airtouch zones to Homekit correctly, it's much easier if the individual zones have heat/cool/auto controls (matching the parent AC). If you set one, it sets all, so they stay sync'd. This way I can just expose Zone entities to homekit, and deal with them as if they're independent AC units.

Additional context

No response

TheNoctambulist commented 2 months ago

The heat/cool modes are already exposed for each zone climate entity as described in the README

The available modes for each zone changes dynamically based on the current AC mode because a zone can only be off or in the same mode as the AC, all zones are fixed to the AC mode.

TheNoctambulist commented 2 months ago

I've implemented an optional feature to allow the zone climate entities to change the parent AC HVAC mode. I think this will allow you to have the behaviour you want. Note that if you want the zones to automatically trigger to the AC to turn on you will need to activate the "Turn on AC when a zone is being turned on" setting in the AirTouch console settings.

I'll publish a release with this feature once I've completed some additional testing.