Hi all!
I have just updated Home Assistant Core to 2025.1.0. After rebooting, HACS (2.0.1) isn’t initialized anymore. When I manually try to reload HACS, I see the following in the log:
2025-01-06 15:32:52.341 CRITICAL (MainThread) [custom_components.hacs] <HacsData restore> [The repo id for music-assistant/hass-music-assistant is already set to 911125621] Restore Failed!
Traceback (most recent call last):
File "/config/custom_components/hacs/utils/data.py", line 222, in restore
self.async_restore_repository(entry, repo_data)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/utils/data.py", line 270, in async_restore_repository
self.hacs.repositories.set_repository_id(repository, entry)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/base.py", line 290, in set_repository_id
raise ValueError(
...<2 lines>...
)
ValueError: The repo id for music-assistant/hass-music-assistant is already set to 911125621
2025-01-06 15:32:52.346 ERROR (MainThread) [custom_components.hacs] HACS is disabled - restore
2025-01-06 15:33:01.077 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.components.main['washerOperatingState']['remainingTime']['value'] }}'
2025-01-06 15:33:01.077 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.components.main['washerOperatingState']['remainingTime']['value'] }}'
2025-01-06 15:33:01.077 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.components.main['washerOperatingState']['remainingTime']['value'] }}'
2025-01-06 15:34:01.064 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.components.main['washerOperatingState']['remainingTime']['value'] }}'
2025-01-06 15:34:03.874 CRITICAL (MainThread) [custom_components.hacs] <HacsData restore> [The repo id for music-assistant/hass-music-assistant is already set to 911125621] Restore Failed!
Traceback (most recent call last):
File "/config/custom_components/hacs/utils/data.py", line 222, in restore
self.async_restore_repository(entry, repo_data)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/utils/data.py", line 270, in async_restore_repository
self.hacs.repositories.set_repository_id(repository, entry)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/base.py", line 290, in set_repository_id
raise ValueError(
...<2 lines>...
)
ValueError: The repo id for music-assistant/hass-music-assistant is already set to 911125621
2025-01-06 15:34:03.878 ERROR (MainThread) [custom_components.hacs] HACS is disabled - restore
I have tried several things and searched for solutions elsewhere, but can’t find the solution to fix this. Any help guiding me into the right direction would be appreciated