Is it possible to create an Unmodified Since at the condition level and not the variable? I have a variable that pulls in the 5 minute energy price from ComEd from IFTTT. I want to use this price to control some devices in my home, but from what I have noticed, this number can vary vastly and I dont want to turn on and off my AC based on five minute changes if for one period it is 9 cents and the next is only 2 cents.
I created a boolean condition for when the price is below a set threshold variable, but I dont want those wild swings to change the condition. While not perfect, I want to be able to change the condition after the live price has been below the threshold variable for 10 mins. Any tips?
Ideally the solution would be to do a rolling 1 hour average, but that will take some effort on my end to learn about webhooks