nathanmarlor / foxess_modbus

FoxESS inverter integration. Connect directly to your FoxESS inverter (no cloud!) for real-time status and control.
MIT License
105 stars 14 forks source link

Detected blocking call to import_module inside the event loop #618

Closed canton7 closed 3 weeks ago

canton7 commented 1 month ago
Detected blocking call to import_module inside the event loop by custom integration 'foxess_modbus' at custom_components/foxess_modbus/client/modbus_client.py, line 203: if auto_connect and hasattr(self._client, "connected") and not self._client.connected: (offender: /usr/local/lib/python3.12/site-packages/serial/__init__.py, line 74: importlib.import_module(package_name)), please create a bug report at https://github.com/nathanmarlor/foxess_modbus/issues
Detected blocking call to import_module inside the event loop by custom integration 'foxess_modbus' at custom_components/foxess_modbus/client/modbus_client.py, line 203: if auto_connect and hasattr(self._client, "connected") and not self._client.connected: (offender: /usr/local/lib/python3.12/site-packages/serial/__init__.py, line 75: handler_module = importlib.import_module(module_name, package_name)), please create a bug report at https://github.com/nathanmarlor/foxess_modbus/issues

_Originally posted by @kozobera in https://github.com/nathanmarlor/foxess_modbus/discussions/617_