Andre0512 / hon

Home Assistant integration for Haier hOn: support for Haier/Candy/Hoover home appliances like washing machines and air conditioners in 28 languages.
MIT License
1.25k stars 2.49k forks source link

blocking call to import_module #206

Open wiedwo opened 1 month ago

wiedwo commented 1 month ago

2024-05-21 18:50:08.773 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module inside the event loop by custom integration 'hon' at custom_components/hon/init.py, line 41: hon = await Hon(**kwargs).create() (offender: /usr/local/lib/python3.12/site-packages/pyhon/appliance.py, line 48: self._extra: Optional[ApplianceBase] = importlib.import_module(), please create a bug report at https://github.com/Andre0512/hon/issues

Dirkhaan commented 1 month ago

I seem to be having the same report in the logs.