Rework door open alerts, close #185

This commit is contained in:
2024-01-02 17:56:40 -05:00
parent f0e35bff08
commit b646616047
3 changed files with 114 additions and 23 deletions

View File

@ -1759,7 +1759,15 @@ script:
'Can a human be so kind and close it?',
'The air quality in this house has actually improved.',
'Closing the door would improve the security of the house.',
'Hey. The door was just opened and this is crazy. But now you know. So. Close it maybe.'
'Hey. The door was just opened and this is crazy. But now you know. So close it maybe.'
] | random }}
{%- endmacro -%}
{%- macro snark_door_closed() -%}
{{ [
'Thank you for finally closing the door. The outside world is grateful.',
'The door has been closed. Thank you for paying attention.',
'You have closed the door. Nerd Home Incorporated thanks you for singlehandedly saving the planet.',
] | random }}
{%- endmacro -%}
@ -1919,6 +1927,10 @@ script:
{{ snark_door_open() }}
{% endif %}
{% if call_snark_door_closed == 1 %}
{{ snark_door_closed () }}
{% endif %}
{% if call_school_pickup_reminder == 1 %}
{{ school_pickup_reminder() }}
{% endif %}