Trouble after upgrade 2024.3.1

Hi

Got this in my logs after upgrading to 2024.3.1 :

2024-03-17 14:27:32.626 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: in “/config/configuration.yaml”, line 14, column 9: Unable to read file /config/scripts.yaml… Activating recover y mode
2024-03-17 14:27:32.658 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in _run_code
File “/usr/src/homeassistant/homeassistant/main.py”, line 221, in
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 271, in async_setup_hass
await async_from_config_dict(
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’
[13:27:32] INFO: Home Assistant Core finish process exit code 1
[13:27:32] INFO: Home Assistant Core service shutdown

Any good ideas and how to fix it?

Check there

That may just point to the script: !include scripts.yaml line (or near it as text file line numbers start counting at 1, and the error report starts counting the lines at 0).

If so, then the error is in your scripts.yaml file, or it is missing altogether.

1 Like