-
Notifications
You must be signed in to change notification settings - Fork 2
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
Cannot start custom integration "elro_connects" after 2023.08.03 #42
Comments
already tried to re-install, but nothing seems te work. |
It runs fine here with 2023.8.3. Not sure why the import fails. |
Yes, it's imported via hacs |
I'll try to reinstall it myself. May be done dependencies need an update. |
ok, thanks in advance! |
it works again when i reverted to 2023.08.02. |
This error originated from a custom integration.
Logger: homeassistant.setup
Source: custom_components/elro_connects/device.py:10
Integration: Elro Connects (documentation, issues)
First occurred: 09:29:49 (1 occurrences)
Last logged: 09:29:49
Setup failed for custom integration elro_connects: Unable to import component: cannot import name 'K1' from 'elro.api' (/usr/local/lib/python3.11/site-packages/elro/api.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 215, in _async_setup_component
component = integration.get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 813, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/elro_connects/init.py", line 12, in
from .device import ElroConnectsK1
File "/config/custom_components/elro_connects/device.py", line 10, in
from elro.api import K1
ImportError: cannot import name 'K1' from 'elro.api' (/usr/local/lib/python3.11/site-packages/elro/api.py)
The text was updated successfully, but these errors were encountered: