All of a sudden, HACS isn’t loading. I haven’t changed the Home Assistant installation at all. This is a Docker install on Raspberry PI.
Any ideas?
Below are two screenshots and the error log?
Logger: homeassistant.setup
Source: setup.py:251
First occurred: 4:28:15 PM (1 occurrences)
Last logged: 4:28:15 PM
Setup failed for custom integration 'hacs': Unable to import component: cannot import name 'VERSION' from 'custom_components.hacs.hacs_frontend' (/config/custom_components/hacs/hacs_frontend/__init__.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 251, in _async_setup_component
component = integration.get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 822, 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 "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/hacs/__init__.py", line 32, in <module>
from .frontend import async_register_frontend
File "/config/custom_components/hacs/frontend.py", line 10, in <module>
from .hacs_frontend import VERSION as FE_VERSION
ImportError: cannot import name 'VERSION' from 'custom_components.hacs.hacs_frontend' (/config/custom_components/hacs/hacs_frontend/__init__.py)