Added dinner announcement
This commit is contained in:
@ -863,6 +863,17 @@ script:
|
|||||||
</p>
|
</p>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
{% macro dinner_is_ready() %}
|
||||||
|
<p>
|
||||||
|
{{ [
|
||||||
|
'Dinner is served!',
|
||||||
|
'A lovely dinner has been prepared, come eat it!',
|
||||||
|
'I have prepared dinner for you all! <break time="2s"/> Just kidding, I have no arms. But it is ready!',
|
||||||
|
'Do you like eating? Me too! Come get your dinner!',
|
||||||
|
'Tony may have forgotten to eat <break time="1s"/> again <break time="1s"/> but dinner has indeed been served!'
|
||||||
|
] | random }}
|
||||||
|
</p>
|
||||||
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro lightning_alert() %}
|
{% macro lightning_alert() %}
|
||||||
{{ [
|
{{ [
|
||||||
@ -989,6 +1000,10 @@ script:
|
|||||||
{{ interuption() }}
|
{{ interuption() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if dinner_is_ready == 1 %}
|
||||||
|
{{ dinner_is_ready() }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if call_ha_started == 1 %}
|
{% if call_ha_started == 1 %}
|
||||||
{{ ha_started() }}
|
{{ ha_started() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user