Hi there,
I want to make this setup:
- A motion sensor should turn my lights on (and off when motion is gone)
- But ONLY if the lights were off, it should turn in on and then later off
Its easy to create an automation for turning it on if its not already on - but how should I make sure its only turned off, if it was OFF initially when motion occured ?
So when kids go up at night (lights are off) and they turn on and then off after they go back to bed - but if its at 8pm, and lights are probably on already, it should not turn on at motion and expecially NOT turn OFF when motion is gone.
Any ideas ?
Cheers from Denmark,
Tony
…