How do I configure CoRE not to run the turn off light switch, if the light is already on. And if light switch is off, turn it on, and if no motion in XX minutes, turn off.
This issue I am having, no matter what settings, the turn off in XX minutes always runs, even though the IF statement says to run only if the light switch is off.
If light switch is already on = do nothing.
This above does not work with CoRE. per settings in below image
If motion is is detected, and light is off = turn on
If there is motion within every 1 minute = stay on
If there is no motion every 1 minute = turn off
I have this above part working fine with CoRE
However, if the light is already on, CoRE still runs the turn off every 1 minute, and turns off the light, despite the IF that says to run only if the light if off.