Created
September 9, 2018 08:49
-
-
Save FredrickB/b9422d66cd5df6ddb173d9074d88e7b9 to your computer and use it in GitHub Desktop.
Adding a custom Template Binary Sensor representation of Strips Guard as a trigger in an automation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
# Trigger automation if door has been opened and has stayed open for 10 minutes | |
- id: door_sensor_automation_id | |
alias: "Some friendly name for automation" | |
trigger: | |
platform: state | |
entity_id: binary_sensor.your_door_sensor_reference_name | |
from: 'off' | |
to: 'on' | |
for: | |
minutes: 10 | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment