I have a rather complex rule that works very well. It turns a smart plug ON & OFF to power a hot water pump on a very specific schedule.
I am struggling to modify said rule to support Modes.
Specifically, I would like to Pause said rule when the Mode changes to Away. Can someone hold my hand and show me how to do that?
Thank you all.
Geez I had a long reply and I accidentally hit delete.
You cannot pause a rule within itself, otherwise how would it run to unpause? You can use a different rule to pause this rule though.
You also could use restrictions. Pseudo code below.
IF mode is away, exit rule. [has to be first otherwise you might not ever get to the exit rule if it was last...]
ELSE IF turn on pump.
Another way would be
IF xyz AND mode NOT away THEN turn on pump
Probably more ways than those 3, but at least you have a few things to think about.