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: |
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
... | |
some_group_name: | |
name: "Friendly name of HA group" | |
view: yes # Must be enabled to have the group be visible in HA dashboard | |
entities: | |
- binary_sensor.your_door_sensor_reference_name | |
... |
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
... | |
- platform: template | |
sensors: | |
your_door_sensor_reference_name: | |
friendly_name: "Some friendly name for door" | |
device_class: door | |
value_template: "{{ states('sensor.sensative_strips_access_control') | float <= 22 }}" | |
... |