hello,
I have an memory issue with my HA installation, which I narrowed down to following log entries:
[31m2026-03-12 15:18:02.944 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (task: None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 929, in _async_trigger_if_enabled
return await self.async_trigger(run_variables, context, skip_condition)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 794, in async_trigger
and not self._condition(variables)
~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 1348, in check_conditions
if check(hass, variables) is False:
~~~~~^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 577, in wrapper
result = condition(hass, variables)
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 1122, in template_if
return async_template(hass, value_template, variables)
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 1104, in async_template
info = value_template.async_render_to_info(variables, parse_result=False)
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 566, in async_render_to_info
raise RuntimeError(
...<3 lines>...
)
RuntimeError: RenderInfo already set while rendering Template<template=({{ "homeassistant.components.automation." in trigger.event.data.name and this.context.parent_id == None }}) renders=318378>, this usually indicates the template is being rendered in the wrong threade[0m
e[31m2026-03-12 15:18:02.945 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (task: None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 929, in _async_trigger_if_enabled
return await self.async_trigger(run_variables, context, skip_condition)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 794, in async_trigger
and not self._condition(variables)
~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 1348, in check_conditions
if check(hass, variables) is False:
~~~~~^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 577, in wrapper
result = condition(hass, variables)
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 1122, in template_if
return async_template(hass, value_template, variables)
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 1104, in async_template
info = value_template.async_render_to_info(variables, parse_result=False)
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 566, in async_render_to_info
raise RuntimeError(
...<3 lines>...
)
RuntimeError: RenderInfo already set while rendering Template<template=({{ "action" in trigger.event.data.message[0] }}) renders=319181>, this usually indicates the template is being rendered in the wrong threade[0m
[31m2026-03-12 15:18:02.946 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (task: None)
This error is spammed every 1ms until I’m out of memory and HA is automatically restarted:
Unfortunatelly it is not directly reproducable to help exclude specific parts.
I already disabled 90% of the integrations.
But I read the errors as it is a problem on an automation?!
Can anyone help me point out which automation/task is the problem? Or how to find it?
Edit: I “only” have approx 30 automations. I can open every one, but I don’t know what I’m looking for.

