Closed litinoveweedle closed 7 months ago
In addition even the adding of the select.comfoairq_ventilation_mode
supposedly failed during HA start., I have this entity in the HA...
As well error as bellow keeps appearing after HA restart together (same time and count) with the timeouts warnings
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:945
First occurred: 7:25:01 PM (6 occurrences)
Last logged: 7:50:01 PM
Update for select.comfoairq_balance_mode fails
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 168, in _send
return await asyncio.wait_for(fut, TIMEOUT)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
async with timeouts.timeout(timeout):
File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
raise TimeoutError from exc_val
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 945, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1262, in async_device_update
await self.async_update()
File "/config/custom_components/comfoconnect/select.py", line 199, in async_update
self._attr_current_option = await self.entity_description.get_value_fn(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/comfoconnect.py", line 244, in get_balance_mode
result_06 = await self.cmd_rmi_request(bytes([0x83, UNIT_SCHEDULE, SUBUNIT_06, 0x01]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 171, in _send
raise AioComfoConnectTimeout from exc
aiocomfoconnect.exceptions.AioComfoConnectTimeout
Just check full HA logs and found this:
2024-03-23 19:34:28.269 INFO (MainThread) [aiocomfoconnect.bridge] The connection was closed.
2024-03-23 19:35:01.702 WARNING (MainThread) [aiocomfoconnect.bridge] Timeout while waiting for response from bridge
2024-03-23 19:35:01.702 ERROR (MainThread) [homeassistant.helpers.entity] Update for select.comfoairq_balance_mode fails
The INFO message about bridge connection close is present always before WARNING and ERROR update. Does it means, that connection is closed (WHY?) but not reestablished automatically till first failed message?
Closing since I want to migrate all these issues in one issue. See https://github.com/michaelarnauts/home-assistant-comfoconnect/issues/43 for a possible solution and follow-up.
Hello,
I got error when setting ventilation mode/speed. I tried then to restart integration, but it completely lost all sensors. I therefore decided to restart HA. On the HA restart I got error as in title.
HA version: 2024.3.3 Integration version: latest / e7132a7
I am also regularly observing some HA warnings about integration timeouts:
Any ideas? I checked other issues like #33 , #36 but I didn't find any solution.