Simplest light off option based on no motion

thank you both for explaining ....really appreciate it...