HACS no longer available - No module named 'custom_components.hacs'

Hello,
a few weeks ago i updated HA and the problems started.
Many configurations didn’t work any longer. I managed to get rid of most of the problems by deactivating the config in “configuration.yaml”.
But the problem with HACS (or “custom_components” ?) seems to be the initial disaster ;(

Setup failed for custom integration hacs: Unable to import component: No module named ‘custom_components.hacs’

Any ideas where to start ???

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant.setup
Source: custom_components/_hacs/websocket/repositories.py:12
Integration: _hacs
First occurred: 15:30:44 (1 occurrences)
Last logged: 15:30:44

Setup failed for custom integration hacs: Unable to import component: No module named ‘custom_components.hacs’
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/_hacs/init.py”, line 34, in
from .websocket import async_register_websocket_commands
File “/config/custom_components/_hacs/websocket/init.py”, line 13, in
from .repositories import (
File “/config/custom_components/_hacs/websocket/repositories.py”, line 12, in
from custom_components.hacs.utils import regex
ModuleNotFoundError: No module named ‘custom_components.hacs’

1 Like

Have you found a solution ?