Hi All, need your help to setup door automation using timer features to off all light which I can’t figure it out.
Lets put sensor name as below
- timer.30 (30secs)
Automation that need to run as below:
when door open, there will be 30sec timer running, if no motion detect after end of 30sec timer then run “script.off_all_light”. But if motion detected during 30sec then cancel the timer.
I not sure if I need to put this “But if motion detected during 30sec then cancel the timer” because it might made the automation never run or you guy have any other method for this matter?