Modified template location sensors
This commit is contained in:
@ -44,7 +44,7 @@ sensor:
|
|||||||
{%- if person in ['Wal-Mart','Kroger','Chief','Meijer'] %}
|
{%- if person in ['Wal-Mart','Kroger','Chief','Meijer'] %}
|
||||||
Grocery Store
|
Grocery Store
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if person in ['not_home'] %}
|
{% if person in ['not_home','Stationary'] %}
|
||||||
{{ state_attr('device_tracker.life360_tony_stork','address') }}
|
{{ state_attr('device_tracker.life360_tony_stork','address') }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ states('person.tony_stork') }}
|
{{ states('person.tony_stork') }}
|
||||||
@ -59,10 +59,10 @@ sensor:
|
|||||||
{% set person = states.person.christina_stork.state %}
|
{% set person = states.person.christina_stork.state %}
|
||||||
{%- if person in ['Wal-Mart','Kroger','Chief','Meijer'] %}
|
{%- if person in ['Wal-Mart','Kroger','Chief','Meijer'] %}
|
||||||
Grocery Store
|
Grocery Store
|
||||||
{% elif person in ['Chipotle'] and is_state('binary_sensor.tina_work','on') %}
|
{% elif person in ['Chipotle','Ft Wayne Chipotle'] and is_state('binary_sensor.tina_work','on') %}
|
||||||
Work
|
Work
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if person in ['not_home'] %}
|
{% if person in ['not_home','Stationary'] %}
|
||||||
{{ state_attr('device_tracker.life360_christina_stork','address') }}
|
{{ state_attr('device_tracker.life360_christina_stork','address') }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ states('person.christina_stork') }}
|
{{ states('person.christina_stork') }}
|
||||||
|
Reference in New Issue
Block a user