Statistics sensor doesn't have min_value anymore?

I have a statistics sensor on my bathroom humidity level. In cooperation with a template sensor I then gather the min_value over the last hour. This has been working for a few years now.
But today when I looked it doesn’t have a min_value (nor max_value) anymore. Has this been removed from the statistics sensor?
So, the main goal is to have the minimum humidity level over the last hour as a sensor (again).

They changed the statistics configuration a couple versions ago. You need to define which “statistic” you want in the sensor config now using the state_characteristic parameter (in your case value_min) The sensor state will be the value_min instead of it being an attribute.

Awesome! This solved my issue.
Also, now I can get rid of the template sensor and have my minimum value available immediately.

Thanks for the help!!

2 Likes