core: Problem with Airzone integration ("fan_only" mode)
The problem
When I select the “fan_only” mode of operation, the “Airzone” integration fails and is no longer available. The only way to make this integration available again is to change the mode of operation on the physical device or in the “Airzone Cloud” App. This situation only occurs with the “fan_only” operating mode.
What version of Home Assistant Core has the issue?
core-2023.7.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Airzone
Link to integration documentation on our website
https://www.home-assistant.io/integrations/airzone
Diagnostics information
home-assistant_airzone_2023-07-20T17-33-19.800Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.airzone.coordinator
Source: components/airzone/coordinator.py:40
Integration: Airzone (documentation, issues)
First occurred: 19:19:15 (7 occurrences)
Last logged: 19:25:24
Unexpected error fetching airzone data: 'setpoint'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/airzone/coordinator.py", line 40, in _async_update_data
await self.airzone.update()
File "/usr/local/lib/python3.11/site-packages/aioairzone/localapi.py", line 246, in update
self.parse_system_zones(system_data)
File "/usr/local/lib/python3.11/site-packages/aioairzone/localapi.py", line 279, in parse_system_zones
self.zones[system_zone_id].update_data(zone_data)
File "/usr/local/lib/python3.11/site-packages/aioairzone/zone.py", line 165, in update_data
self.temp_set = float(zone_data[API_SET_POINT])
~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'setpoint'
Additional information
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 17 (5 by maintainers)
New issue created.
By the way, no need to implement a workaround, I’ve created my own automation to set a value of 25º when this happens.
Regards.
Hi Alvaro,
Just updated to 2023.8.2
Fan_only now works as expected: no more NA when changing to this mode from cool
On HA reload while in fan_only mode it starts in NA state but after a while it changes to correct Fan mode.
Thanks one more time for the work.