So, I have been moving over functionality from smartapps and webcore to routines where I can.
I noticed one specific issue that I cannot figure out.
I have a routine, that if the motion sensor in my garage is no motion for 10 minutes, it turns the garage light off.
If the light goes on, then motion happens and then stops, the routine works fine.
If however, the light goes on when there is no motion, and it remains in no motion, it does not shut the light off. I assume this is because its already in a no motion state, and is already past the 10min timer.
Would adding some additional check to see if the light is on first help, and if so how would you do it? If not, any thoughts?