Use history_stats to show highest value of a sensor in the last 24 hours

Is it possible to do that and use this value as a template?

Try Statistics - Home Assistant (home-assistant.io)

1 Like

It works, thanks.

Would like to see the highest measured value of the solar panels in the current year 2023. Every time the value is higher than the previous one, it must be overwritten by the highest value.

Is this also possible with history_stats in combination with a max-age until 31-12-2023

did you solve this? I would be interested in a solution as want to do exactely the same. Thanks for any advise. JJ

no solution found yet