Closed Veldkornet closed 3 years ago
Thanks for the report. Home Assistant version 2021.10 has introduced a breaking change for 'templates': https://www.home-assistant.io/blog/2021/10/06/release-202110/#breaking-changes. Filters now require a default value to be present. This will be enforced from Home Assistant version 2021.12.
To add a default value to the filters you will need to update your template in configuration.yaml
.
Change
{{state_attr("zone.home", "latitude") | round(2)}}
{{state_attr("zone.home", "longitude") | round(2)}}
to
{{state_attr("zone.home", "latitude") | round(2, default="not available")}}
{{state_attr("zone.home", "longitude") | round(2, default="not available")}}
I will update the readme
file with the updated template logic.
If possible, use this opportunity to migrate from the Neerslag-Card
to the Neerslag-App
.
Ah thanks! Indeed I just switched to the Neerslag-App
instead :)
Been getting this warning since updating HA. I guess you need to add a default somewhere in the template as mentioned here, but I wasn’t quite sure where with this one.