What I want to do is have a motion sensor in the hallway trigger the hallway light and bathroom light(s) simultaneously…hallway light turns off after no motion, but I’d like the bathroom light to stay on an extended period of time if the bathroom door is closed. If the door is left open, the bathroom light would go off sooner.
I don’t want the lights to go off on someone using the restroom for more than a few minutes, but I don’t want them left on as long if someone just walks by without using the restroom.
The main purpose of the hallway sensor triggering these lights is for my 3 year old daughter when she gets up in the middle of the night. I have this setup with Smart Lights currently and it all works well minus the problem I’ve encountered for when to shut the lights off.