core icon indicating copy to clipboard operation
core copied to clipboard

AirZone Cloud - Becomes unavailable and needs restarting

Open sparks1372 opened this issue 4 months ago • 4 comments

The problem

The AirZone Cloud integration randomly fails and requires the integration to be reloaded. Looking at the log there is a call which is timing out and crashing the integration rather than being caught in a retry loop.

What version of Home Assistant Core has the issue?

core-2024.8.3

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_cloud

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-10-10 12:33:30.245 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Tudor Croft 50:26:EF:C0:E4:41 (663c9bd1ac7b90f8213be463) for airzone_cloud
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/airzone_cloud/__init__.py", line 37, in async_setup_entry
    await airzone.login()
  File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 474, in login
    resp = await self.api_request(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aioairzone_cloud/cloudapi.py", line 149, in api_request
    async with self.session.request(
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 1353, in __aenter__
    self._resp = await self._coro
                 ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 684, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 994, in start
    with self._timer:
  File "/usr/local/lib/python3.12/site-packages/aiohttp/helpers.py", line 713, in __exit__
    raise asyncio.TimeoutError from None
TimeoutError

Additional information

No response

sparks1372 avatar Oct 11 '24 17:10 sparks1372