Hi. I’m setting up a notification automation that’s supposed to run when a temperature is restored below a certain value. The purpose of it is to trigger when it returns below the threshold as below.
The issue is that sometimes the temperature naturally varies around the threshold temp and a notification isn’t necessary every time it swings a little bit above and then below. As it is now, even a few seconds at 10.1 degrees would set off the timer and eventually send a notification.
My thought was to use some time limit in a condition with {{ trigger.from_state.state }} such that it evaluates it that the trigger from state above 10 degrees must’ve lasted for x amount of time for this condition to be passed.
Thanks for the quick reply. I should’ve perhaps mentioned that I already have a setup like that but the problem is when you start having larger numbers of sensors it becomes unwieldy to have too many inputs to keep track of.
Thanks. That would still require me to setup a separate threshold for each sensor I think. Preferably I’d like it to be in the condition of the initial automation to simplify it but if I can’t then I guess this is the way to go.