HA OS not starting

Hi
All of a sudden my HA won’t start. Supervisor logs show HA core has crashed.
Logs show this error, but I’m struggling to find the culprit of the error.

2024-03-17 09:15:03.780 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 685, 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 230, in async_setup_hass
    await async_from_config_dict(config_dict, hass) is not None
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 349, in async_from_config_dict
    await async_load_base_functionality(hass)
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 324, in async_load_base_functionality
    await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 1290, in async_load
    await hass.data[DATA_REGISTRY].async_load()
  File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 1124, in async_load
    entities[entity["entity_id"]] = RegistryEntry(
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 473, in __setitem__
    self._index[(entry.domain, entry.platform, entry.unique_id)] = entry.entity_id
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'list' 

I’m running HAOS on an ESXi, and have been running without problems for several years. I tried a few new installs on different VM, and they all crash after some time. I havent looked at all logs, but the one I currently are testing, have the same error.

Any help is appreciated

How are you deploying the test VMs? Are they clean or do you restore from backup?

Tests are clean. I add integrations and functions piece by piece, but it vary when it crash. Making backup after each succesful restart, and restoring when i hit a crash. But after some time, even the working backup will crash.
About to try one more time now, check logs after each add and restart…

After further testing, problems seem to be appearing when I add packages to config. I’ll add one and one and see if I can find which is causing HA to crash