I feel at this point I am pretty good with rules machine but How can I create a rules that turns off a light if it was in for 10 mins. Bonus if it can handle Multiple lights in a single rule.
while yes this would be a simple solution, it can lead to other issues down the line. i used to use SA for some of my lights, but it would continue the countdown even if the door was closed. This lead to someone going into the Pantry (with a 3 min auto turn off), close the door, then open it again within that first 3 min timer. The SA would trigger again, and now there would be 2 instances of turn off after 3 minutes. Once the first one triggers, it will turn off the light (even if the door was only opened for 1 minute because the first trigger was still present from 3 minutes earlier). I ultimately moved my rules from SA to RM
i would go with this ruling with the cancellable action to have the door closing remove any previous triggers and not cause the overlap like i mentioned above