I’ve got a simple automation where a motion sensor activates a smart plug, to which a pump is connected.
I’m looking for a way to implement: “If motion is detected, run the pump for 5 minutes, but don’t run again until 30 minutes have passed (even if new motion is detected)”
I tried adding a wait action as the last step, but it doesn’t save it. I am also unsure if the automation runs in sequence or concurrent (in which case a wait won’t solve the problem). How do I best implement this case?