You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logger: homeassistant.helpers.event
Source: helpers/template.py:570
First occurred: 19:02:34 (3 occurrences)
Last logged: 19:02:34
Error while processing template: Template<template=({% set global = 'binary_sensor.global_natural_alert' %} {% set meteoalarm = 'binary_sensor.meteoalarm' %} {% set alert_type = {'White':'info', 'Green':'success', 'Gold':'warning', 'Orange':'warning', 'Red':'error'} %} {% set days = ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"] %} {% set start = as_timestamp(state_attr(meteoalarm, 'effective'),0) %} {% set end = as_timestamp(state_attr(meteoalarm, 'expires'),0) %} <details {{'open' if is_state(meteoalarm, 'on') else ''}}>
{{state_attr(meteoalarm, 'friendly_name')}} {{ state_attr(meteoalarm, 'urgency')|upper }} {{state_attr(meteoalarm, 'event')}} Da {{days[start|timestamp_custom('%w')|int(0)]}}{{start|timestamp_custom(' %d alle %H:%M')}} a {{days[end|timestamp_custom('%w')|int(0)]}}{{end|timestamp_custom(' %d alle %H:%M')}}
{{state_attr(meteoalarm, 'instruction')}} ) renders=6>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 568, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2198, in _render_with_context
return template.render(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 6, in top-level template code
jinja2.exceptions.UndefinedError: dict object has no element None
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 694, in async_render_to_info
render_info._result = self.async_render(
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 570, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: dict object has no element None
The text was updated successfully, but these errors were encountered:
Logger: homeassistant.helpers.event
Source: helpers/template.py:570
First occurred: 19:02:34 (3 occurrences)
Last logged: 19:02:34
Error while processing template: Template<template=({% set global = 'binary_sensor.global_natural_alert' %} {% set meteoalarm = 'binary_sensor.meteoalarm' %} {% set alert_type = {'White':'info', 'Green':'success', 'Gold':'warning', 'Orange':'warning', 'Red':'error'} %} {% set days = ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"] %} {% set start = as_timestamp(state_attr(meteoalarm, 'effective'),0) %} {% set end = as_timestamp(state_attr(meteoalarm, 'expires'),0) %} <details {{'open' if is_state(meteoalarm, 'on') else ''}}>
{{ state_attr(meteoalarm, 'urgency')|upper }} {{state_attr(meteoalarm, 'event')}}
Da {{days[start|timestamp_custom('%w')|int(0)]}}{{start|timestamp_custom(' %d alle %H:%M')}} a {{days[end|timestamp_custom('%w')|int(0)]}}{{end|timestamp_custom(' %d alle %H:%M')}}
{{(state_attr(meteoalarm, 'description')|default('',true)).split('(DISCLAIMER')[0]}}
{{state_attr(meteoalarm, 'instruction')}}
) renders=2>
Error while processing template: Template<template=({% set global = 'binary_sensor.global_natural_alert' %} {% set meteoalarm = 'binary_sensor.meteoalarm' %} {% set alert_type = {'White':'info', 'Green':'success', 'Gold':'warning', 'Orange':'warning', 'Red':'error'} %} {% set days = ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"] %} {% set start = as_timestamp(state_attr(meteoalarm, 'effective'),0) %} {% set end = as_timestamp(state_attr(meteoalarm, 'expires'),0) %} <details {{'open' if is_state(meteoalarm, 'on') else ''}}>
{{ state_attr(meteoalarm, 'urgency')|upper }} {{state_attr(meteoalarm, 'event')}}
Da {{days[start|timestamp_custom('%w')|int(0)]}}{{start|timestamp_custom(' %d alle %H:%M')}} a {{days[end|timestamp_custom('%w')|int(0)]}}{{end|timestamp_custom(' %d alle %H:%M')}}
{{(state_attr(meteoalarm, 'description')|default('',true)).split('(DISCLAIMER')[0]}}
{{state_attr(meteoalarm, 'instruction')}}
) renders=4>
Error while processing template: Template<template=({% set global = 'binary_sensor.global_natural_alert' %} {% set meteoalarm = 'binary_sensor.meteoalarm' %} {% set alert_type = {'White':'info', 'Green':'success', 'Gold':'warning', 'Orange':'warning', 'Red':'error'} %} {% set days = ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"] %} {% set start = as_timestamp(state_attr(meteoalarm, 'effective'),0) %} {% set end = as_timestamp(state_attr(meteoalarm, 'expires'),0) %} <details {{'open' if is_state(meteoalarm, 'on') else ''}}>
{{ state_attr(meteoalarm, 'urgency')|upper }} {{state_attr(meteoalarm, 'event')}}
Da {{days[start|timestamp_custom('%w')|int(0)]}}{{start|timestamp_custom(' %d alle %H:%M')}} a {{days[end|timestamp_custom('%w')|int(0)]}}{{end|timestamp_custom(' %d alle %H:%M')}}
{{(state_attr(meteoalarm, 'description')|default('',true)).split('(DISCLAIMER')[0]}}
{{state_attr(meteoalarm, 'instruction')}}
) renders=6>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 568, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2198, in _render_with_context
return template.render(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 6, in top-level template code
jinja2.exceptions.UndefinedError: dict object has no element None
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 694, in async_render_to_info
render_info._result = self.async_render(
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 570, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: dict object has no element None
The text was updated successfully, but these errors were encountered: