So I’m trying to get the min value of of a sensor over 24 hours, so I can build an automation when the current value of the sensor exceeds it for more than a few hours.
I have this in configuration.yaml
sensor:
- platform: statistics
name: "Min Household Power Over Last 24 hours"
entity_id: sensor.rainforest_emu_2_power
state_characteristic: value_min
max_age:
hours: 24
But what I end up with is chart that looks like this, which doesn’t seem right at all. I was expecting the min over 24 hours to be the min value over a rolling 24 hour window.
1 post - 1 participant