Probably one of the kids accidentally turned the fridge to full power, resulting in everything inside freezing solid. I do track the consumption of the fridge via a Zigbee smart plug and - of course - the changed setting shows.
How would I go about calculating an average consumption value e.g. over an hour that I could use in an automation to trigger a warning if that value exceeds a set limit?
The first one contains yesterdays average temperature and the other one the average electricity consumption between 3 and 5 o’clock, a proxy for my baseline.