this post was submitted on 27 Jan 2024
15 points (89.5% liked)
homeassistant
12102 readers
15 users here now
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@sabreW4K3
Create a timer that you set to 5 minutes.
Create an automation with 3 triggers:
Choice of three actions:
When 1:
Switch light on
Cancel timer (this takes care of motion being detected again during the 5 minute delay)
When 2:
Start timer (And let’s wait for 5. Minutes for timer to end)
When 3:
Check that motion is clear (as motion also cancels the timer)
If so, switch light off
This broke my brain at first. I had to keep coming back to it. Thank you so much.