-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HA Warnings at startup - "Detected Blocking call to import_module..." #823
Comments
possibly related - frenck/spook#722 |
Same here. Logger: homeassistant.util.loop Detected blocking call to import_module inside the event loop by custom integration 'asusrouter' at custom_components/asusrouter/bridge.py, line 149: await self.api.async_connect() (offender: /usr/local/lib/python3.12/site-packages/asusrouter/modules/endpoint/init.py, line 61: submodule = importlib.import_module(module_name)), please create a bug report at https://github.com/Vaskivskyi/ha-asusrouter/issues |
1:
|
have same issue in HA logs Detected blocking call to import_module inside the event loop by custom integration 'asusrouter' at custom_components/asusrouter/bridge.py, line 149: await self.api.async_connect() (offender: /usr/local/lib/python3.12/site-packages/asusrouter/modules/endpoint/init.py, line 61: submodule = importlib.import_module(module_name)), please create a bug report at https://github.com/Vaskivskyi/ha-asusrouter/issues Detected blocking call to import_module inside the event loop by custom integration 'asusrouter' at custom_components/asusrouter/bridge.py, line 272: raw = await self.api.async_get_data(datatype, force=force) (offender: /usr/local/lib/python3.12/site-packages/asusrouter/modules/endpoint/init.py, line 61: submodule = importlib.import_module(module_name)), please create a bug report at https://github.com/Vaskivskyi/ha-asusrouter/issues Detected blocking call to import_module inside the event loop by custom integration 'asusrouter' at custom_components/asusrouter/bridge.py, line 512: data = await self.api.async_get_data(datatype) (offender: /usr/local/lib/python3.12/site-packages/asusrouter/modules/endpoint/init.py, line 61: submodule = importlib.import_module(module_name)), please create a bug report at https://github.com/Vaskivskyi/ha-asusrouter/issues Detected blocking call to import_module inside the event loop by custom integration 'asusrouter' at custom_components/asusrouter/bridge.py, line 488: data = await self.api.async_get_data(datatype) (offender: /usr/local/lib/python3.12/site-packages/asusrouter/modules/endpoint/init.py, line 61: submodule = importlib.import_module(module_name)), please create a bug report at https://github.com/Vaskivskyi/ha-asusrouter/issues |
Hello, guys. Sorry for the late reply. Currently, I don't have any time to check GitHub regularly due to some personal reasons The fix is ready and will be released either later today or tomorrow to remove the warning from HA logs |
The warning is fixed in |
The problem
These ha-asusrouter warnings show up on startup with HA 2024.5. Warning requests creating a bug report - so, here you go... (thanks for reviewing)
Your device model
RT-AX86U
Firmware type
Merlin
Firmware version
3004.388.4
Integration version with the issue
v 0.31
Method of the integration installation
HACS
What version and type of Home Assistant installation do you use
2024.5.1
Is there anything useful in the logs?
Diagnostics information
Provided only upon request
Additional information
No response
The text was updated successfully, but these errors were encountered: