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 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.