#How do I create a delayed-2nd-condition automation

1 messages · Page 1 of 1 (latest)

stray stag
#

My washing machine (older model, no beeper or anything) is attached to a power sensor.

Right now there's an automation that says "when power consumption drops below 2W for more than 1 minute, notify me".

How do I change this to "when first, power consumption rises above 10W, then 20 minutes pass, and THEN it drops below 2W"? Is that even possible with automations alone?

ashen nova
#

you can add "wait for trigger/time" in the actions step, but you need to be a bit careful here

#

it depends on the exact behaviour you want, do you want >10W for 20 mins, then alert when it goes <2W?

#

in which case a trigger to check it's >10W for 20 mins, then a wait for trigger to check <2W then notification is probably the simplest route

stray stag
#

I lowered the times. 1 min > 5W, then 10 minutes of waiting time, then eventually 1 min < 5W should suffice. Basically, the machine will work for 30 to 120 minutes, going between 50-ish W and 2500-ish W wildly, then eventually drop to 4W ... it looks like this now. I guess I'll see in a while.

#

Thank you!