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