Ability to add temporary extra info to K's briefings
This commit is contained in:
@ -56,11 +56,17 @@ input_text:
|
||||
briefing_extras:
|
||||
name: Briefing Extras
|
||||
icon: mdi:plus
|
||||
kallen_briefing_extras:
|
||||
name: Kallen Briefing Extras
|
||||
icon: mdi:plus
|
||||
|
||||
input_boolean:
|
||||
briefing_extras:
|
||||
name: Briefing Extras
|
||||
icon: mdi:plus
|
||||
kallen_briefing_extras:
|
||||
name: Kallen Briefing Extras
|
||||
icon: mdi:plus
|
||||
|
||||
################################
|
||||
# Announcment Automation - fires at the time of the above input_datetimes
|
||||
|
@ -120,6 +120,13 @@
|
||||
{%- endif %}
|
||||
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% if is_state('input_boolean.kallen_briefing_extras','on') %}
|
||||
"And now we have the following extra information to pass along. {{ states('input_text.kallen_briefing_extras') }} "
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
{%- endmacro -%}
|
||||
|
||||
{# a macro that removes all newline characters, empty spaces, and returns formatted text #}
|
||||
|
@ -70,6 +70,13 @@
|
||||
'I will prepare your bedroom shortly.'
|
||||
] | random }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% if is_state('input_boolean.kallen_briefing_extras','on') %}
|
||||
"And now we have the following extra information to pass along. {{ states('input_text.kallen_briefing_extras') }} "
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
{%- endmacro -%}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user