Added dinner announcement

This commit is contained in:
2022-07-02 20:46:35 -04:00
parent 13ee82074c
commit f4393fff24

View File

@ -863,6 +863,17 @@ script:
</p>
{% 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() %}
{{ [
@ -989,6 +1000,10 @@ script:
{{ interuption() }}
{% endif %}
{% if dinner_is_ready == 1 %}
{{ dinner_is_ready() }}
{% endif %}
{% if call_ha_started == 1 %}
{{ ha_started() }}
{% endif %}