Added doorbell announcement

This commit is contained in:
2022-07-02 20:46:53 -04:00
parent f4393fff24
commit e061c73e92

View File

@ -926,6 +926,17 @@ script:
</p> </p>
{% endmacro %} {% 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() -%} {%- macro snark_door_motion() -%}
{{ [ {{ [
'Do you want me to send them away?', 'Do you want me to send them away?',
@ -1040,6 +1051,10 @@ script:
{{ speech_message }} {{ speech_message }}
{% if call_snark_doorbell == 1 %}
{{ snark_doorbell() }}
{% endif %}
{% if call_snark_door_motion == 1 %} {% if call_snark_door_motion == 1 %}
{{ snark_door_motion() }} {{ snark_door_motion() }}
{% endif %} {% endif %}