mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-06-15 04:07:19 +00:00
Refactor speech briefing template to improve formatting for resident location display
This commit is contained in:
parent
a2be180639
commit
571b964dd3
@ -239,26 +239,26 @@
|
||||
{% set time = current_date.strftime('%I:%M %p') %}
|
||||
Current date time: {{ month }} {{ day }}, {{ year }} {{ time }}
|
||||
|
||||
Residents: Location
|
||||
- Carlo: {{ states('person.carlo') }} at
|
||||
Resident: Location
|
||||
- Carlo:
|
||||
{%- if states('sensor.carlo_place') != 'unknown' %}
|
||||
{{ states('sensor.carlo_place') }}
|
||||
{% else -%}
|
||||
Away
|
||||
{% endif -%}
|
||||
- Stacey: {{ states('person.stacey') }} at
|
||||
- Stacey:
|
||||
{%- if states('sensor.stacey_place') != 'unknown' %}
|
||||
{{ states('sensor.stacey_place') }}
|
||||
{% else -%}
|
||||
Away
|
||||
{% endif -%}
|
||||
- Justin: {{ states('person.justin') }} at
|
||||
- Justin:
|
||||
{%- if states('sensor.justin_place') != 'unknown' %}
|
||||
{{ states('sensor.justin_place') }}
|
||||
{% else -%}
|
||||
Away
|
||||
{% endif -%}
|
||||
- Paige: {{ states('person.paige') }} at
|
||||
- Paige:
|
||||
{%- if states('sensor.paige_place') != 'unknown' %}
|
||||
{{ states('sensor.paige_place') }}
|
||||
{% else -%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user