2022-08-10 19:49:38 +00:00
|
|
|
- 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-10-19 20:25:52 +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
|