Template Error
See original GitHub issueNot sure if this warning is from this card, but figured it might be as my subrbname, the real one, was listed…
Source: helpers/template.py:1210
First occurred: 3:48:15 PM (27 occurrences)
Last logged: 3:48:36 PM
Template warning: 'timestamp_custom' got invalid input '00:00' when compiling template '{{ '00:00' | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'timestamp_custom' will return '00:00', however this template will fail to render in Home Assistant core 2021.12
Template warning: 'float' got invalid input 'unknown' when rendering template '{%- if states('sensor.suburbname_wind_speed_kilometre') | float >= 118 -%} 12 {%- elif states('sensor.suburbname_wind_speed_kilometre') | float >= 103 -%} 11 {%- elif states('sensor.suburbname_wind_speed_kilometre') | float >= 89 -%} 10 {%- elif states('sensor.suburbname_wind_speed_kilometre') | float >= 75 -%} 9 {%- elif states('sensor.suburbname_wind_speed_kilometre') | float >= 62 -%} 8 {%- elif states('sensor.suburbname_wind_speed_kilometre') | float >= 50 -%} 7 {%- elif states('sensor.suburbname_wind_speed_kilometre') | float >= 39 -%} 6 {%- elif states('sensor.suburbname_wind_speed_kilometre') | float >= 29 -%} 5 {%- elif states('sensor.suburbname_wind_speed_kilometre') | float >= 20 -%} 4 {%- elif states('sensor.suburbname_wind_speed_kilometre') | float >= 12 -%} 3 {%- elif states('sensor.suburbname_wind_speed_kilometre') | float >= 6 -%} 2 {%- elif states('sensor.suburbname_wind_speed_kilometre') | float >= 2 -%} 1 {%- else -%} 0 {%- endif -%}' but no default was specified. Currently 'float' will return '0', however this template will fail to render in Home Assistant core 2021.12
Template warning: 'round' got invalid input 'unknown' when rendering template '{% if states('sensor.suburbname_temp_min_0') == 'unknown' %} {% set min = states('sensor.bom_today_min') %} {% else %} {% set min = states('sensor.suburbname_temp_min_0') %} {% endif %} {% if states('sensor.suburbname_temp_max_0') == 'unknown' %} {% set max = states('sensor.bom_today_max') %} {% else %} {% set max = states('sensor.suburbname_temp_max_0') %} {% endif %} {{ max|round(0)}}°/{{ min|round(0)}}°/{{states('sensor.suburbname_rain_chance_0')|round(0)}}%' but no default was specified. Currently 'round' will return 'unknown', however this template will fail to render in Home Assistant core 2021.12```
Anyone else find the same?
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Template:Error - Wikipedia
Module:Error (sandbox). This meta template returns a state of error (recognized as such by a wiki parser function), and optionally an error-message text ......
Read more >Resolve template validation or template format errors in ... - AWS
For "Invalid template property or properties [XXXXXXXX]" errors, ... These templates return the following error: "Unresolved resource ...
Read more >500 Error Page HTML Templates - Free Frontend
Collection of free 500 error page HTML templates from codepen and other resources. Update of January 2020 collection. 13 new items.
Read more >How to Set up Template Error Management and Why We Need It
This article will show you how to use Mailjet's Template Error Management feature, to avoid loosing your time checking all of your templates ......
Read more >20 Best Free 404 Error Page Templates 2022 - Colorlib
Many of the premium website templates provide a separate 404 error page template and their package. If this is not the case for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
just updated the package. Thanks.
I had a few others. Pretty easy to fix. I’ll see if I can do this tomorrow… Standby…