Po dzisiejszej aktu HA, ExtaLife nie odpala. Logi:
Rejestrator: homeassistant.setup
Źródło: setup.py:296
Pierwsze zdarzenie: 16:57:49 (1 zdarzenia)
Ostatnio zalogowany: 16:57:49
Setup failed for custom integration 'extalife': Unable to import component: Exception importing custom_components.extalife
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 921, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/config/custom_components/extalife/__init__.py", line 76, in <module>
from .helpers.core import Core
File "/config/custom_components/extalife/helpers/core.py", line 40, in <module>
class Core:
File "/config/custom_components/extalife/helpers/core.py", line 63, in Core
def get(cls, entry_id: ConfigEntry.entry_id) -> "Core": # forward
^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'ConfigEntry' has no attribute 'entry_id'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 296, in _async_setup_component
component = await integration.async_get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 894, in async_get_component
comp = self.get_component()
^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 932, in get_component
raise ImportError(f"Exception importing {self.pkg_path}") from err
ImportError: Exception importing custom_components.extalife
___________________________________________
Rejestrator: homeassistant.loader
Źródło: loader.py:921
Pierwsze zdarzenie: 16:57:49 (1 zdarzenia)
Ostatnio zalogowany: 16:57:49
Unexpected exception importing component custom_components.extalife
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 921, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/config/custom_components/extalife/__init__.py", line 76, in <module>
from .helpers.core import Core
File "/config/custom_components/extalife/helpers/core.py", line 40, in <module>
class Core:
File "/config/custom_components/extalife/helpers/core.py", line 63, in Core
def get(cls, entry_id: ConfigEntry.entry_id) -> "Core": # forward
^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'ConfigEntry' has no attribute 'entry_id'
Padłem.
Co powinienem zrobić, żeby zaskoczyło?