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