After the latest update I am getting the following error and all my automations have broken. I haven’t changed anything recently so not sure what is causing it? Can anyone point me in the direction on how to troubleshoot?
2023-08-10 09:37:00.458 ERROR (MainThread) [homeassistant.setup] Error during setup of component automation
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 259, in async_setup
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 976, in _async_process_config
entities = await _create_automation_entities(hass, updated_automation_configs)
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 860, in _create_automation_entities
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 989, in _async_process_if
File "/usr/src/homeassistant/homeassistant/components/device_automation/condition.py", line 55, in async_condition_from_config
File "/usr/src/homeassistant/homeassistant/components/device_automation/toggle_entity.py", line 146, in async_condition_from_config
2023-08-10 09:37:00.463 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: automation
2023-08-10 09:37:00.464 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: automation')