I always use two Routines. One for motion detected - turn on light. Another Routine no motion detected for 1 minute (but I use a different amount of time) - turn off light. I am sure others have their own way of doing it.
Thanks for I reply. I learned something new for sure.
In the second screenshot I posted, should that Routine work? I now understand that, if I don’t want the light to shut off while someone is in the bathroom, however I am testing to see if the motion sensor will trigger the switch and the shut if off.
I am using the illumino dimmer switch from Aeotech. I have been have lots of issues with it not working. Tech support has been slow.
I will try this and see if that will work, but so far it won’t shut off after I put a delay in the routine.
For motion lighting, don’t put the off as a blind delay in the same Then as the on. That starts a clock the moment motion hits, and it will fire even if someone is still in the room.
Split it:
When motion starts, turn the light on
When no motion has lasted for your timeout, turn the light off
The off path has to see a persisted quiet period, not N minutes after the first trigger. That way a still occupant doesn’t get dropped in the dark, and a late motion event resets the off timer.