Ability to add temporary extra info to briefings
This commit is contained in:
@ -323,13 +323,18 @@
|
||||
Today is the first day of Summer Break!
|
||||
{%- endif %}
|
||||
{% endif %}
|
||||
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Around the house, there are currently {{ states.sensor.current_lights_on.state }} lights on.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% if is_state('input_boolean.briefing_extras','on') %}
|
||||
"And now we have the following extra information to pass along. {{ states('input_text.briefing_extras') }} "
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
{%- endmacro -%}
|
||||
|
||||
|
||||
|
@ -120,6 +120,11 @@
|
||||
It appears no traffic reports are needed today. Enjoy your day off!
|
||||
{% endif %}
|
||||
|
||||
<p>
|
||||
{% if is_state('input_boolean.briefing_extras','on') %}
|
||||
"And now we have the following extra information to pass along. {{ states('input_text.briefing_extras') }} "
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
</p>
|
||||
{%- endmacro -%}
|
||||
|
@ -77,6 +77,12 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% if is_state('input_boolean.briefing_extras','on') %}
|
||||
"And now we have the following extra information to pass along. {{ states('input_text.briefing_extras') }} "
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
"This briefing is a work in progress. Stay tuned in the coming days for more updates! "
|
||||
</p>
|
||||
|
@ -148,6 +148,12 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% if is_state('input_boolean.briefing_extras','on') %}
|
||||
"And now we have the following extra information to pass along. {{ states('input_text.briefing_extras') }} "
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
{%- endmacro -%}
|
||||
|
||||
{# a macro that removes all newline characters, empty spaces, and returns formatted text #}
|
||||
|
Reference in New Issue
Block a user