Using Motion to turn lights on - Toggle On Disables Motion

What is a good way of integrating toggle on off control with motion control on light switches so its on motion control whenever the toggle on isnt activated?

In the routine that is triggered by motion:

You should be able to add an additional IF statement with the + symbol, like:


Motion sensor > motion detected
Switch > ON


>(whatever you want to happen when motion is enabled)

You should see two options underneath the IF statement when you have 2 or more.

select the “when all conditions are met” option, that will ensure motion alone doesn’t trigger the motion action. Only when the switch is also on,

Add switch as precondition