1
0
ansible-home-assistant/configuration/automations/front-door-doorbell.yaml

17 lines
362 B
YAML
Raw Normal View History

- id: front-door-doorbell
2022-08-18 23:02:16 +00:00
alias: '[Front door] Doorbell'
2021-05-11 18:34:52 +00:00
mode: restart
trigger:
- platform: state
2022-09-05 17:52:13 +00:00
entity_id: switch.doorbell
2021-05-11 18:34:52 +00:00
from: 'off'
to: 'on'
action:
2022-09-17 16:12:58 +00:00
- service: notify.mobile_app_iphone
2021-05-11 18:34:52 +00:00
data:
2022-08-17 00:25:51 +00:00
message: Doorbell
data:
actions:
- action: UNLOCK_DOOR
title: Unlock door