Improve weather report
This commit is contained in:
parent
9aa45acb17
commit
f8671d8925
|
@ -35,16 +35,15 @@ script:
|
||||||
{% else %}
|
{% else %}
|
||||||
Good morning!
|
Good morning!
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if is_state('device_tracker.correlspixel', 'home') %}
|
{% set occupants
|
||||||
Hi Correl!
|
= states.sensor.occupants.state.split(', ')
|
||||||
{% endif %}
|
| select
|
||||||
{% if is_state('device_tracker.stephaniesiphone', 'home') %}
|
| list
|
||||||
Hi Stephanie!
|
%}
|
||||||
{% endif %}
|
{% for occupant in occupants %}
|
||||||
{% if is_state('device_tracker.PhilsGalaxyS7Edge', 'home') %}
|
Hi {{ occupant }}!
|
||||||
Hi Phil!
|
{% endfor %}
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
Today's forecast is
|
Today's forecast is
|
||||||
{{ states.sensor.dark_sky_daily_summary.state }}
|
{{ states.sensor.dark_sky_daily_summary.state }}
|
||||||
Right now, the weather is
|
Right now, the weather is
|
||||||
|
|
Loading…
Reference in New Issue