Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for room/bathroom doors #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cengel74
Copy link

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:
- binary_sensor.bathroom_door
door_open_delay: 5

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:
    - binary_sensor.bathroom_door
  door_open_delay: 5
@evildad evildad linked an issue Apr 25, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Door sensor to turn on / off lights
2 participants