krahabb / meross_lan

Home Assistant integration for Meross devices
MIT License
423 stars 47 forks source link

HA 2024.5 new WARNING for meross_lan - Detected blocking call to import_module #433

Closed antivirus68 closed 4 months ago

antivirus68 commented 4 months ago

After updating HA to version 2024.5 I got the following WARNING in log.

Version of the custom_component

v5.0.4

Configuration



Add your logs here.
2024-05-12 07:57:19.309 WARNING (MainThread) [homeassistant.util.loop] 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

## Describe the bug
Detected blocking call to import_module inside the event loop by custom integration 'meross_lan'