question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not 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:closed
  • Created 2 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
DavidFW1960commented, Oct 16, 2021

just updated the package. Thanks.

1reaction
DavidFW1960commented, Oct 13, 2021

I had a few others. Pretty easy to fix. I’ll see if I can do this tomorrow… Standby…

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found