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
automaiton.yaml | |
- id: '1586812692976' | |
alias: ring doorbell | |
description: '' | |
trigger: | |
- entity_id: binary_sensor.front_door_ding | |
platform: state | |
to: detected | |
condition: [] |
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
#automations.yaml# | |
- alias: 'Take picture when Door Bell Pressed' | |
id: Take_picture_when_Door_Bell_Pressed | |
initial_state: 'on' | |
trigger: | |
platform: state | |
entity_id: binary_sensor.front_door_ding | |
to: 'on' | |
action: | |
- service: camera.snapshot |
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
- id: '1586812692976' | |
alias: Doorbell Ring to Unlock Front Door | |
description: '' | |
trigger: | |
- entity_id: binary_sensor.front_doorbell_ding | |
from: 'off' | |
platform: state | |
to: 'on' | |
condition: [] | |
action: |
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
- id: doorbell_alert | |
alias: Doorbell Alert | |
trigger: | |
- entity_id: binary_sensor.front_doorbell_ding | |
platform: state | |
to: 'on' | |
condition: | |
- condition: template | |
value_template: '{{ (as_timestamp(now()) - as_timestamp(state_attr(''automation.doorbell_alert'', | |
''last_triggered'') | default(0)) | int > 5)}}' |
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
- id: '1587504201931' | |
alias: Water leak sensor notification | |
description: '' | |
trigger: | |
- entity_id: binary_sensor.water_leak_sensor_water | |
platform: state | |
to: wet | |
condition: [] | |
action: | |
- data: |