Advance flow suggestions

Hi, Like to have some suggestion how to do this.

A room with 3 motion detection that I want to keep the light on when motion is present and with no motion it will turn lights off after 2min. And if the door is closed (door sensor) the light should be on as long as the door is closed. but when the door is opened again and no motion is detected the light should turn off after 2min. Thanks

I would use the Chronograph app timer to do the following:

WHEN
Motion sensor 1 detects motion
Or Motion sensor 2 detects motion
Or Motion sensor 3 detects motion
Or door opens
THEN
Start timer 2 minutes

WHEN
timer is started
AND
door is open
light is off
THEN
Turn light on

WHEN
timer ends
AND
door is open
THEN
turn light off

WHEN
Door is closed
THEN
stop timer

I would use zone activity. However you have to invert the state of the door sensor. Maybe that is an option on the hardware device or the software device. Or you can make virtual device to reflect the inverse state of the sensor.

Here is how I did (door sensor inverse) - thanks for your help.