I have a statistics sensor that tracks an average temperature over the previous 1 hour.
I’d like to get the minimum value of that sensor over the last 12 hours. Is there a way to do this?
1 Hour Avg Sensor:
- platform: statistics
name: "Pool Water Temperature 1 Hour Avg"
entity_id: sensor.sonoff_th15_1_ds18b20_temperature
state_characteristic: mean
precision: 1
max_age:
minutes: 60
To clarify, I’m not looking for the minimum temperature reading overall, but the minimum of the calculated hourly averages. I don’t think that the statistics sensor provides a direct way to do this, but maybe I’m wrong.