ha-sunspec
ha-sunspec copied to clipboard
SunSpec after Restart HA not available
Hi, I have this error after restart Home Assistant:
Einrichtung fehlgeschlagen, wird erneut versucht: Caught blocking call to sleep with args (0.5,) inside the event loop by custom integration 'sunspec' at custom_components/sunspec/api.py, line 159: client.scan(. (offender: /usr/local/lib/python3.12/site-packages/sunspec2/modbus/client.py, line 258: time.sleep(delay)), please create a bug report at https://github.com/cjne/ha-sunspec/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#sleep
Does anyone have an idea to fix it?
Thank you.