I have an outdoor thermometer that I am displaying the current temp on my dashboard. What I would like is to also display the Min and Max temperatures of the day.
The history is there as I can display it is a Statistics Graph.
How do I extract the Min and Max from the entity ?
Built-in min/max is kinda “odd”, since it always look for, say, last 24 hours, which can be wrong… as such for instance it shows max temp. of 36 degrees at 6 am in the morning, since it shows max from yesterday afternoon. If i lower hours value then it can happen that it doesn’t take into account today’s values… So, basically, it’s pretty much useless for tempereture purpose.
I’m using THIS addon, it’s more usefull, because it resets itself at midnight, so it really shows min/max for TODAY ONLY. I used to use sql before, but this suits my needs just fine now.