Need help with this automation please

Im trying t set up a rule that the lights in the garage turn on if a contact sensor (inside door or garage door) are open and turn off when sensors are closed AND motion stops.
Right now it pretty much turns off after 10 minutes, even if a contact is open and there is motion. Making exaggerated movement doesn't re trigger, but closing and reopening the contact does. Thanks!

Rule Settings and Logs









I use the limit turning off under these conditions. instead of Disable turning off upon these events. An event implies it must happen after activation.

like this?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.