diff --git a/packages/announcements.yaml b/packages/announcements.yaml index a6a1906..4a08c4e 100644 --- a/packages/announcements.yaml +++ b/packages/announcements.yaml @@ -312,6 +312,13 @@ script: who: 'everywhere' call_dinner_is_ready: 1 + we_are_leaving: + sequence: + - service: script.status_annc + data_template: + who: 'everywhere' + call_we_are_leaving: 1 + welcome_home: sequence: - condition: state diff --git a/packages/notify.yaml b/packages/notify.yaml index 1efa13f..0d92d43 100644 --- a/packages/notify.yaml +++ b/packages/notify.yaml @@ -1004,6 +1004,16 @@ script:
{% endmacro %} + {% macro we_are_leaving %} ++ {{ [ + 'Everyone please convene on the first floor, we are preparing to leave the house.', + 'If everyone could make their way to the first floor, that would be great. We have places to go!', + 'Attention all family members. We have errands to run. Please meet on the first floor.' + ] | random }} +
+ {% endmacro %} + {% macro lightning_alert() %} {{ [ 'I have detected lightning within 20 miles of our house.', @@ -1148,6 +1158,10 @@ script: {{ time_for_bed() }} {% endif %} + {% if call_we_are_leaving == 1 %} + {{ we_are_leaving() }} + {% endif %} + {% if call_ha_started == 1 %} {{ ha_started() }} {% endif %}