Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use async_update to set horizontal swing as supported
Reimplement async_update in AtaDeviceClimate (from MelCloudClimate) so that when the device information is obtained from the cloud, we check if the device has horizontal vanes to mark SWING_HORIZONTAL_MODE as a supported feature. Note that we can't just check for self._device.vane_horizontal in __init__ since vane_horizontal is only set (or not) after the device data is fetched from the cloud.
- Loading branch information