Hi,
I am running Home Assistant OS, Core 2026.1.3, Supervisor 2026.01.1, Operating System 17.0 and Frontend 20260107.2
After an upgrade of the Core, the automation is broken. I think this is the root-cause for some other integration fails, e.g. Shelly.
I do not know where to look for to get the error fixes, pls. help me, my system is not working any more!
KR,
Christof
Logger: homeassistant.config
Quelle: config.py:1153
Erstmals aufgetreten: 09:59:22 (1 Vorkommnis)
Zuletzt protokolliert: 09:59:22
Unknown error calling automation config validator - 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config.py", line 1153, in async_process_component_config
await config_validator.async_validate_config(hass, config), []
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 328, in async_validate_config
await _try_async_validate_config_item(hass, p_config)
File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 306, in _try_async_validate_config_item
return await _async_validate_config_item(hass, config, False, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 220, in _async_validate_config_item
automation_config[CONF_TRIGGERS] = await async_validate_trigger_config(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, validated_config[CONF_TRIGGERS]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/trigger.py", line 1117, in async_validate_trigger_config
conf = await platform.async_validate_trigger_config(hass, conf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/device_automation/trigger.py", line 61, in async_validate_trigger_config
return await async_validate_device_automation_config(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, config, TRIGGER_SCHEMA, DeviceAutomationType.TRIGGER
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/components/device_automation/helpers.py", line 56, in async_validate_device_automation_config
platform = await async_get_device_automation_platform(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, validated_config[CONF_DOMAIN], automation_type
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 171, in async_get_device_automation_platform
integration = await async_get_integration_with_requirements(hass, domain)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/requirements.py", line 61, in async_get_integration_with_requirements
return await manager.async_get_integration_with_requirements(domain)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/requirements.py", line 179, in async_get_integration_with_requirements
await future
File "/usr/src/homeassistant/homeassistant/requirements.py", line 168, in async_get_integration_with_requirements
await self._async_process_integration(integration, done)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 191, in _async_process_integration
await self.async_process_requirements(
integration.domain, integration.requirements, integration.is_built_in
)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 308, in async_process_requirements
await self._async_process_requirements(name, missing)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 340, in _async_process_requirements
installed, failures = await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_install_requirements_if_missing, requirements, kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 124, in _install_requirements_if_missing
if pkg_util.is_installed(req) or _install_with_retry(req, kwargs):
~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/src/homeassistant/homeassistant/util/package.py", line 96, in is_installed
if (installed_version := version(req.name)) is None:
~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/importlib/metadata/__init__.py", line 987, in version
return distribution(distribution_name).version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/importlib_metadata/__init__.py", line 557, in version
return md_none(self.metadata)['Version']
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable