Here's the logic I'm looking for:
If any of five contact sensors (doors) open OR any of two motion sensors detect motion
THEN
Turn on the garage light switch AND keep them on as long as any of the same two motion sensors keep detecting motion
ELSE
Turn off the garage light switch after 20 minutes delay regardless of if any of the contact sensors are still open
I can get the logic to trigger on the contact open/motion active events but running to turn off timer that can get interrupted by new motion is giving me trouble. TIA!