Since some days i get this error:
Could not render template Oggi, the state is unknown.
And the template is:
- platform: template
sensors:
date_template:
entity_id: sensor.date
friendly_name: 'Oggi'
value_template: >
{{ as_timestamp(now()) | timestamp_custom("%d/%m/%y", True) }}
why?