In Rex?s ?Pleg Basics? Example ? Simple Motion Triggered Light.
For the condition Auto Off. Doesn?t the expression as currently written mean 10 seconds rather than 10 minutes?
Shouldn?t the last part of the expression be ? and (!LightOn; LightOn > 10:00)?
That part of the logic is to support the ability to quick flick the switch and get it to bypass the auto off feature. But that works on if you have a switch that has rapid status reporting. If you don’t need that capability you can remove that section completely.
It’s the timer that does the 10 minute thing…!