mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
waze_travel_time update template sensor example (#20019)
This commit is contained in:
parent
0566ada748
commit
0cfc528a5b
@ -43,11 +43,10 @@ input_select:
|
|||||||
- Work
|
- Work
|
||||||
- Parents
|
- Parents
|
||||||
|
|
||||||
sensor:
|
template:
|
||||||
- platform: template
|
- sensor:
|
||||||
sensors:
|
- name: "Destination address"
|
||||||
dest_address:
|
state: >-
|
||||||
value_template: >-
|
|
||||||
{%- if is_state("input_select.destination", "Home") -%}
|
{%- if is_state("input_select.destination", "Home") -%}
|
||||||
725 5th Ave, New York, NY 10022, USA
|
725 5th Ave, New York, NY 10022, USA
|
||||||
{%- elif is_state("input_select.destination", "Work") -%}
|
{%- elif is_state("input_select.destination", "Work") -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user