Need help creating my first complex rule

Can we re-visit @lewis.heidrick idea of 2 separate triggers? I think 2 simple rules > 1 convoluted rule. I was going down the pathway of Cancel Waits and it was just not cooperating.

Bedroom Rule

  • Motion triggers the lights on, cancels any potential impending lights-off actions, and enables the Bathroom Rule's PB.
  • Wait for end of motion event at which point 30 second timers will queue up Lights Off and disabling Bathroom PB so you dont trigger it later yourself.

Bathroom Rule

  • Only triggers if the Bedroom rule enabled it by PB.
  • Cancels any lights-off queued up by the Bedroom rule.
  • You dont even need the ELSE branch after you nix the logging.

1 Like