From 754d9a5efcfb1597a874f2bf3e77cc2e61c7c18f Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 6 Jun 2022 00:42:38 -0400 Subject: [PATCH] Added snarky message if door is left open --- packages/alerts.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/packages/alerts.yaml b/packages/alerts.yaml index ca4b7e7..21b63d5 100644 --- a/packages/alerts.yaml +++ b/packages/alerts.yaml @@ -42,4 +42,22 @@ alert: - tv_notifications - ios_tony - ios_tina - - ios_kallen \ No newline at end of file + - ios_kallen + +automation: + - id: 5a82b718-3846-452b-9aa4-a183a88c8f29 + alias: Door Open Alert + trigger: + - platform: state + entity_id: binary_sensor.front_door + state: 'on' + for: + hours: 0 + minutes: 2 + seconds: 0 + action: + - service: script.status_annc + data_template: + who: 'living_room' + call_interuption: 1 + call_snark_door_open: 1 \ No newline at end of file