Hi.
I tried an update from 0.21.40 to 0.30.4 and on the restart of Home Assistant, these errors are recorded in the home-assistant.log.
2023-12-09 13:56:48.993 WARNING (MainThread) [homeassistant.setup] Setup of ramses_cc is taking over 10 seconds.
2023-12-09 13:56:49.525 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/ramses_rf/helpers.py", line 93, in schedule_fnc
await execute_fnc(fnc, *args, **kwargs)
File "/usr/local/lib/python3.11/site-packages/ramses_rf/helpers.py", line 83, in execute_fnc
return await fnc(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ramses_rf/entity_base.py", line 434, in _poll_discovery_cmds
await self.discover()
File "/usr/local/lib/python3.11/site-packages/ramses_rf/entity_base.py", line 524, in discover
if pkt := await send_disc_cmd(hdr, task): # TODO: OK 4 some exceptions
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ramses_rf/entity_base.py", line 480, in send_disc_cmd
pkt: Packet | None = await asyncio.wait_for(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 489, in wait_for
return fut.result()
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ramses_rf/gateway.py", line 826, in async_send_cmd
pkt = await super().async_send_cmd(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ramses_rf/gateway.py", line 323, in async_send_cmd
return await self._protocol.send_cmd(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ramses_tx/protocol.py", line 598, in send_cmd
return await super().send_cmd(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ramses_tx/protocol.py", line 393, in send_cmd
return await self._send_cmd(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ramses_tx/protocol.py", line 416, in _send_cmd
await self._send_frame(str(cmd))
File "/usr/local/lib/python3.11/site-packages/ramses_tx/protocol.py", line 122, in wrapper
await fnc(*args, **kwargs)
File "/usr/local/lib/python3.11/site-packages/ramses_tx/protocol.py", line 198, in wrapper
await fnc(self, frame, *args, **kwargs)
File "/usr/local/lib/python3.11/site-packages/ramses_tx/protocol.py", line 564, in _send_frame
await super()._send_frame(frame)
File "/usr/local/lib/python3.11/site-packages/ramses_tx/protocol.py", line 426, in _send_frame
self._transport.send_frame(frame)
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'send_frame'
Home Assistant Core 2023.11.3, Supervisor 23.11.6 & Operating System 11.2.
Can anyone help me understand what it’s telling me?
Cheers
Mike