krahabb / meross_lan

Home Assistant integration for Meross devices
MIT License
387 stars 46 forks source link

Blocking call to import_module inside event loop in meross_lan #436

Closed MDsza closed 1 month ago

MDsza commented 1 month ago

I am receiving the following warning in my Home Assistant logs:

Logger: homeassistant.util.loop Source: util/loop.py:99 First occurred: 21:23:47 (6 occurrences) Last logged: 21:23:47

Detected blocking call to import_module inside the event loop by custom integration 'meross_lan' at custom_components/meross_lan/meross_device.py, line 472: module = import_module( (offender: /config/custom_components/meross_lan/meross_device.py, line 472: module = import_module(), please create a bug report at https://github.com/krahabb/meross_lan/issues

Steps to reproduce:

1.  Install meross_lan integration
2.  Observe the logs for the above warning

System information:

•   Core 2024.5.3 / Supervisor 2024.05.1 / Operating System 12.3 / Frontend 20240501.1
•   meross_lan version: 5.0.4
•   Installation type: Home Assistant OS
•   Hardware: ZimaBoard 832 - Proxmox Cluster 

Could you please investigate this issue? Thank you!

krahabb commented 1 month ago

Hello, there's an already opened issue about this #427

krahabb commented 1 month ago

Duplicate of #427