Runtime Error Please Help

Logger: homeassistant
Source: util/async_.py:141
First occurred: June 21, 2022, 11:59:00 PM (1 occurrences)
Last logged: June 21, 2022, 11:59:00 PM

Error doing job: Exception in callback SerialTransport._call_connection_lost(SerialExcepti…eset by peer’))
Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/serial_asyncio/init.py”, line 414, in _call_connection_lost
self._protocol.connection_lost(exc)
File “/usr/local/lib/python3.9/site-packages/pyinsteon/protocol/protocol.py”, line 127, in connection_lost
if exc and exc.exception():
AttributeError: ‘SerialException’ object has no attribute ‘exception’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.9/asyncio/events.py”, line 80, in _run
self._context.run(self._callback, *self._args)
File “/usr/local/lib/python3.9/site-packages/serial_asyncio/init.py”, line 417, in call_connection_lost
self.serial.close()
File “/usr/local/lib/python3.9/site-packages/serial/urlhandler/protocol_socket.py”, line 104, in close
time.sleep(0.3)
File "/usr/src/homeassistant/homeassistant/util/async
.py", line 180, in protected_loop_func
check_loop(func, strict=strict)
File "/usr/src/homeassistant/homeassistant/util/async
.py", line 141, in check_loop
raise RuntimeError(
RuntimeError: Detected blocking call to sleep inside the event loop. Use await hass.async_add_executor_job(); This is causing stability issues. Please report issue

Report this in a new issue here: