Hi all. I see this issue is apparently solved but I have the same error and don’t know how to remove the Hikvision HACS integration as I can’t start HA. Not convinced that is the root cause but I do have Hikvision.
HA core docker on ubuntu intel nuc.
I’ve tried rolling back to 2024.1.0 and forward to 2024.2.0b4. Same error.
Tried using non container venv hass with same result.
I think it was working on first upgrade to 2024.2.0 until I was trying to get thread/matter/open border router working but I hope that’s a separate drama.
I don’t have any backups (they’ve never worked) and my reef tank, chickens, home security etc rely on HA. I’ve invested 5 years in this. It’s the first time it has failed and not keen on starting from scratch with another product.
Error is:
> 2024-02-08 18:49:13.196 ERROR (MainThread) [root] Uncaught exception
> Traceback (most recent call last):
> File "<frozen runpy>", line 198, in _run_module_as_main
> File "<frozen runpy>", line 88, in _run_code
> File "/usr/src/homeassistant/homeassistant/__main__.py", line 221, in <module>
> sys.exit(main())
> ^^^^^^
> File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
> exit_code = runner.run(runtime_conf)
> ^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/src/homeassistant/homeassistant/runner.py", line 188, in run
> return loop.run_until_complete(setup_and_run_hass(runtime_config))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/local/lib/python3.12/asyncio/base_events.py", line 684, in run_until_complete
> return future.result()
> ^^^^^^^^^^^^^^^
> File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in setup_and_run_hass
> hass = await bootstrap.async_setup_hass(runtime_config)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 203, in async_setup_hass
> await async_from_config_dict(config_dict, hass) is not None
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 319, in async_from_config_dict
> await async_load_base_functionality(hass)
> File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 296, in async_load_base_functionality
> await asyncio.gather(
> File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1354, in async_initialize
> entries[entry_id] = config_entry
> ~~~~~~~^^^^^^^^^^
> File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1148, in __setitem__
> self._domain_unique_id_index.setdefault(entry.domain, {})[
> TypeError: unhashable type: 'list'