Hi, recently I started getting these errors in the log and they happen pretty frequently. what could be causing them?
Logger: homeassistant.helpers.event
Source: helpers/template.py:646
First occurred: June 3, 2025 at 12:28:44 (96 occurrences)
Last logged: 09:05:20
Error while processing template: Template<template=({{ value_template }}) renders=372>
Error while processing template: Template<template=({{ value_template }}) renders=378>
Error while processing template: Template<template=({{ value_template }}) renders=380>
Error while processing template: Template<template=({{ value_template }}) renders=386>
Error while processing template: Template<template=({{ value_template }}) renders=388>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2934, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
jinja2.exceptions.UndefinedError: 'value_template' is undefined
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'value_template' is undefined
Someone suggested looking into Lovelace raw log but I could not find anything there that is out of ordinary.
Where do I start looking?
Thank you
Thank you