mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Fix example to work correctly (#1912)
This commit is contained in:
parent
1966a015de
commit
af8353376c
@ -158,9 +158,11 @@ alexa:
|
||||
{%- for state in states.device_tracker -%}
|
||||
{%- if state.name.lower() == User.lower() -%}
|
||||
{{ state.name }} is at {{ state.state }}
|
||||
{%- elif loop.last -%}
|
||||
I am sorry, I do not know where {{ User }} is.
|
||||
{%- endif -%}
|
||||
{%- else -%}
|
||||
I am sorry, I do not know where {{ User }} is.
|
||||
Sorry, I don't have any trackers registered.
|
||||
{%- endfor -%}
|
||||
card:
|
||||
type: simple
|
||||
|
Loading…
x
Reference in New Issue
Block a user