I have a motion sensor and a kitchen light hooked up via a smart wall switch. When someone turns on the light, i want it to go off 5 minutes after no motion is detected. But if motion occurs within that 5 minutes, the timer should restart.
How can I do this!?
Going crazy trying to get it to work.