From e061c73e929fc43b6067ab07edb5ebcd7b0d0026 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sat, 2 Jul 2022 20:46:53 -0400 Subject: [PATCH] Added doorbell announcement --- packages/notify.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/notify.yaml b/packages/notify.yaml index 47832d2..2c7788f 100644 --- a/packages/notify.yaml +++ b/packages/notify.yaml @@ -926,6 +926,17 @@ script:

{% endmacro %} + {%- macro snark_doorbell() -%} + {{ [ + 'Someone is at the door. Do you want me to send them away?', + 'There is someone at the door. I have armed the lasers. Just say the word.', + 'Someone is at the front door. I was not informed there would be guests.', + 'Someone is at the door. They do not appear to have any gifts, so I suggest we do not open it.', + 'My sensors have detected a meat popsicle at the front door.', + 'Someone seems to be at the door. I do not think they can hear me.' + ] | random }} + {%- endmacro -%} + {%- macro snark_door_motion() -%} {{ [ 'Do you want me to send them away?', @@ -1040,6 +1051,10 @@ script: {{ speech_message }} + {% if call_snark_doorbell == 1 %} + {{ snark_doorbell() }} + {% endif %} + {% if call_snark_door_motion == 1 %} {{ snark_door_motion() }} {% endif %}