Skip to content
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

Unable to start integration since HA 2025.1.0 #633

Open
ettiennecoetzee opened this issue Jan 3, 2025 · 3 comments
Open

Unable to start integration since HA 2025.1.0 #633

ettiennecoetzee opened this issue Jan 3, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@ettiennecoetzee
Copy link

HA core version

2025.1.0

Intergration version

0.3.22

Device type and model

Air Conditioner 00000Q11 (0) by Midea

Used App

Home assistant

The description of problem

Unable to start integration

The logs

Logger: homeassistant.util.loop
Source: util/loop.py:77
First occurred: 23:49:36 (1 occurrences)
Last logged: 23:49:36

Detected blocking call to import_module with args ('custom_components.midea_ac_lan',) in /usr/src/homeassistant/homeassistant/loader.py, line 1075: ComponentProtocol, importlib.import_module(self.pkg_path) inside the event loop; This is causing stability issues. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 227, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 213, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.13/asyncio/base_events.py", line 707, in run_until_complete self.run_forever() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 678, in run_forever self._run_once() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2033, in _run_once handle._run() File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component result = await _async_setup_component(hass, domain, config) File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component component = await integration.async_get_component() File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component comp = self._get_component() File "/usr/src/homeassistant/homeassistant/loader.py", line 1075, in _get_component ComponentProtocol, importlib.import_module(self.pkg_path)

@ettiennecoetzee ettiennecoetzee added the bug Something isn't working label Jan 3, 2025
@ettiennecoetzee ettiennecoetzee changed the title Unable to start integration Unable to start integration since HA 2025.1.0 Jan 3, 2025
@pauloon
Copy link

pauloon commented Jan 4, 2025

I'm also having this same error, together with the TIME_DAYS one.
Waiting for a fix.

@ettiennecoetzee
Copy link
Author

The above fix has sorted my issue. Thanks!

@erikgieseler
Copy link

This reporistory is dead because the maintainer has not been available for a long time and no more pull requests are being merged. You should switch to https://github.com/wuwentao/midea_ac_lan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants