Today's Low NaN °C
See original GitHub issueI’ve stated getting this just recently: Today’s Low NaN °C
on my card using: entity_daytime_low: sensor.bom_today_min
This is the one I use, the other is commented out. Not sure on the differences between the two, but both seem to give me the error.
bom_today_min:
value_template: >
{%- if states('sensor.suburbname_temp_min_0') == 'n/a' -%}
{{ state_attr('sensor.today_temp_bom', 'min_value') }}
{% else %}
{{ states('sensor.suburbname_temp_min_0') }}
{% endif %}
bom_today_min is “Unknown”
sensor.suburbname_temp_min_0 is “Unknown”
Is this just a problem with the BOM data? Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:19 (11 by maintainers)
Top Results From Across the Web
How to use nan and inf in C? - Stack Overflow
You can test if your implementation has it: #include <math.h> #ifdef NAN /* NAN is supported */ #endif #ifdef INFINITY /* INFINITY is...
Read more >What is NaN in C programming? - Quora
C, although it is a high-level language, provides access to some fundamental low-level concepts such as memory addresses and dynami. Continue Reading.
Read more >Nan, Thailand 7 day weather forecast - WeatherWX.com
Today Sunny, 0001 sunny. Lo: 16°C60°F Hi: 30°C85°F. Sunny Tuesday, temperatures as high as 30°C85°F low temperature around 16°C60°F wind out of the...
Read more >NaN in C++ - What is it and How to Check For it?
Another way to check for NaN is by using “isnan()” function, this function returns true if a number is complex else it returns...
Read more >Writing program for NaN condition - Arduino Forum
I'm trying to write a program to turn on a pump if the temperature sensor I'm reading fails and gives a nan condition....
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 Free
Top 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
The new average is just showing as a sensor now, not in the average integration anymore
The min and max won’t have any _2 because they are template sensors never part of the average integration… They are extracted as attributes of sensor.today_temp_bom which is created by average (or statistics)
Maybe… If it happens try and see what state all the entities have… max, min and the average. But there’s nothing wrong with your code…