I have rules to activate all of my lights in the house based on various motion sensors which also shuts it off after x minutes of no motion but if a light is triggered with a scene or manually the light just stays on. Why, because no shuts it off since they are use to the automation? I do have the rule for a light/device to shutoff if on for x minutes to help for these occurances but that can leave you in the dark if there's still motion/someone in the room. We need a simple rule to shutoff a light/device Y if there's no motion detected on X motion sensor for Z minutes. I would then just have the rule to activate the light set to leave it on and then use this second rule to turn them off. This would prevent the issue where you sitting in the dark and flapping your arms round to trigger the light to come back on. Good thing no one can see me friously waving my arms around since I doing it in the dark. I swear sometime it seems like the light just shutsoff right when I walk in to the room if it was already on in some cases.