Kids bathroom

Paulo, you have a couple of different options. If you are up to writing your own smartapp then you should just have to subscribe the the light coming on. When that event is triggered check the state of the door and based on the value schedule the light to turn off in 1 min.

If coding is not your thing, then i would recommend obycodes’ smart rules app for iOS. There is also Simple Rules Builder, but the door open/closed part is untested, if you’re on android it may still be worth a try. Finally you can always ask any of the developers to code it for you just don’t forget to support them. :wink: