From 7e14cd772d8cc59ab5153594b7d5f6ce50d2ce1d Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Tue, 26 Apr 2022 13:51:11 -0400 Subject: [PATCH] Modified template location sensors --- packages/presence.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/presence.yaml b/packages/presence.yaml index 148b88c..426bafa 100644 --- a/packages/presence.yaml +++ b/packages/presence.yaml @@ -44,7 +44,7 @@ sensor: {%- if person in ['Wal-Mart','Kroger','Chief','Meijer'] %} Grocery Store {% else %} - {% if person in ['not_home'] %} + {% if person in ['not_home','Stationary'] %} {{ state_attr('device_tracker.life360_tony_stork','address') }} {% else %} {{ states('person.tony_stork') }} @@ -59,10 +59,10 @@ sensor: {% set person = states.person.christina_stork.state %} {%- if person in ['Wal-Mart','Kroger','Chief','Meijer'] %} 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 {% else %} - {% if person in ['not_home'] %} + {% if person in ['not_home','Stationary'] %} {{ state_attr('device_tracker.life360_christina_stork','address') }} {% else %} {{ states('person.christina_stork') }}