Official Airzone Cloud Integration configuration error


while setting up Airzone Cloud Integration (Official), I can select my home (so credentials are ko), I then get an error in the logs :

Logger: homeassistant.components.airzone_cloud.coordinator
Source: components/airzone_cloud/ 
Integration: Airzone Cloud (documentation, issues) 
First occurred: 26 juin 2023 à 19:12:08 (50 occurrences) 
Last logged: 26 juin 2023 à 20:10:12

Unexpected error fetching airzone_cloud data: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/", line 283, in _async_refresh = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/components/airzone_cloud/", line 40, in _async_update_data
    await self.airzone.update()
  File "/usr/local/lib/python3.11/site-packages/aioairzone_cloud/", line 530, in update
    await self._update()
  File "/usr/local/lib/python3.11/site-packages/aioairzone_cloud/", line 516, in _update
    await asyncio.gather(*tasks)
  File "/usr/local/lib/python3.11/site-packages/aioairzone_cloud/", line 503, in update_zones
    await asyncio.gather(*tasks)
  File "/usr/local/lib/python3.11/site-packages/aioairzone_cloud/", line 488, in update_zone
  File "/usr/local/lib/python3.11/site-packages/aioairzone_cloud/", line 80, in update
  File "/usr/local/lib/python3.11/site-packages/aioairzone_cloud/", line 344, in update
    self.humidity = int(data[API_HUMIDITY])
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

if I check what is coming from Airzone Cloud API, I have this :

ent_air_min': {'fah': 59, 'celsius': 15}, 'range_sp_stop_air_min': {'fah': 59, 'celsius': 15}, 'zone_sched_available': True, 'humidity': None, 'setpoint_air_cool': {'celsius': 23.5, 'fah': 74}, 'setpoint_air_dry': {'celsius': 23.5, 'fah': 74}, 'setpoint_air_vent'

You can see humidity is None. This None value cannot be convert to int. I just modified the source code on my homeassistant install to check the None value before converting to int and the integration work as expected. If the author see this message, the solution to avoid this issue is easy.

This issue is now resolved : treewide: handle null API values · Noltari/aioairzone-cloud@8d40862 · GitHub