benleb / ad-automoli

💡 Fully automatic light management based on conditions like motion, illuminance, humidity, and other clever features
https://github.com/benleb/ad-automoli
MIT License
110 stars 29 forks source link

Add support for room/bathroom doors #109

Open cengel74 opened 2 years ago

cengel74 commented 2 years ago

This adds support to specify the doors to the room. As long as that door is closed the light will be blocked from turning off. Closing the door is also treated as a motion event and will cause the light to turn on.

You can also override the default delay to have the light turn off quicker after the door is opened by specifying 'door_open_delay' otherwise it will turn off after the normal delay

Additional config options: door: