请问为何homeassistant中HACS加载一直失败,已删除再重新添加了无数次了,依旧如此,错误日志如下:
日志详细信息( ERROR )
此错误来自自定义集成。
Logger: homeassistant.config_entries
Source: custom_components/hacs/hacs_frontend/init.py:2
Integration: HACS (documentation, issues)
First occurred: 19:10:42 (3 occurrences)
Last logged: 19:38:29
Error setting up entry for hacs
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 357, in async_setup
result = await component.async_setup_entry(hass, self)
File “/config/custom_components/hacs/init.py”, line 39, in async_setup_entry
return await hacs_ui_setup(hass, config_entry)
File “/config/custom_components/hacs/operational/setup.py”, line 94, in async_setup_entry
await _async_common_setup(hass)
File “/config/custom_components/hacs/operational/setup.py”, line 50, in _async_common_setup
await hacs.tasks.async_load()
File “/config/custom_components/hacs/tasks/manager.py”, line 43, in async_load
await asyncio.gather(*[_load_module(task) for task in task_modules])
File “/config/custom_components/hacs/tasks/manager.py”, line 39, in _load_module
task_module = import_module(f"{package}.{module}")
File “/usr/local/lib/python3.10/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/config/custom_components/hacs/tasks/setup_frontend.py”, line 6, in
from …hacs_frontend import locate_dir
File “/config/custom_components/hacs/hacs_frontend/init.py”, line 2, in
from .version import VERSION
ModuleNotFoundError: No module named ‘custom_components.hacs.hacs_frontend.version’