Hello All,
I am trying to add HACS but I have following errors, note I have tried to remove and install a few times following the exact procedure.
Logger: homeassistant.config_entries
Source: config_entries.py:551
First occurred: 4:55:29 PM (1 occurrences)
Last logged: 4:55:29 PM
Error setting up entry for hacs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/__init__.py", line 246, in async_setup_entry
setup_result = await async_initialize_integration(hass=hass, config_entry=config_entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/__init__.py", line 214, in async_initialize_integration
await async_try_startup()
File "/config/custom_components/hacs/__init__.py", line 201, in async_try_startup
startup_result = await async_startup()
^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/__init__.py", line 159, in async_startup
if not await hacs.data.restore():
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/utils/data.py", line 163, in restore
hacs = await async_load_from_store(self.hacs.hass, "hacs") or {}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hacs/utils/store.py", line 51, in async_load_from_store
return await get_store_for_key(hass, key).async_load() or {}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 294, in async_load
return await load_task
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 303, in _async_load
return await self._async_load_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 391, in _async_load_data
data["version"] == self.version
~~~~^^^^^^^^^^^
KeyError: 'version'
Thanks in advance.