Hi,
I haven't noticed since a while, but I have an automation, that calculate weather that is not working anymore. I could not say since when.
I have problem to identify the root cause.
When editing in VSCode, I have error on line - plateform: time - String does not match the pattern of LEGACY_SYNTAX
I also see in log :
2025-06-27 00:02:23.545 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ weather_fc['weather.home'].forecast[0].wind_gust_speed }}) renders=2> 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 2969, in _render_with_context return template.render(**kwargs) ~~~~~~~~~~~~~~~^^^^^^^^^^ ... ~~~^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'weather_fc' 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: 'weather_fc' is undefined