New announcement for leaving the house
This commit is contained in:
@ -312,6 +312,13 @@ script:
|
|||||||
who: 'everywhere'
|
who: 'everywhere'
|
||||||
call_dinner_is_ready: 1
|
call_dinner_is_ready: 1
|
||||||
|
|
||||||
|
we_are_leaving:
|
||||||
|
sequence:
|
||||||
|
- service: script.status_annc
|
||||||
|
data_template:
|
||||||
|
who: 'everywhere'
|
||||||
|
call_we_are_leaving: 1
|
||||||
|
|
||||||
welcome_home:
|
welcome_home:
|
||||||
sequence:
|
sequence:
|
||||||
- condition: state
|
- condition: state
|
||||||
|
@ -1004,6 +1004,16 @@ script:
|
|||||||
</p>
|
</p>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
{% macro we_are_leaving %}
|
||||||
|
<p>
|
||||||
|
{{ [
|
||||||
|
'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 }}
|
||||||
|
</p>
|
||||||
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro lightning_alert() %}
|
{% macro lightning_alert() %}
|
||||||
{{ [
|
{{ [
|
||||||
'I have detected lightning within 20 miles of our house.',
|
'I have detected lightning within 20 miles of our house.',
|
||||||
@ -1148,6 +1158,10 @@ script:
|
|||||||
{{ time_for_bed() }}
|
{{ time_for_bed() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if call_we_are_leaving == 1 %}
|
||||||
|
{{ we_are_leaving() }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if call_ha_started == 1 %}
|
{% if call_ha_started == 1 %}
|
||||||
{{ ha_started() }}
|
{{ ha_started() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user