From 77d88b359a88cdf5107c1b95cbdd0b60b0a50c92 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Thu, 5 Jan 2017 11:19:12 -0500 Subject: [PATCH] Switching back to owntracks for my presence --- alexa/intents.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/alexa/intents.yaml b/alexa/intents.yaml index f7032e5..3bb0c8d 100644 --- a/alexa/intents.yaml +++ b/alexa/intents.yaml @@ -4,11 +4,11 @@ intents: type: plaintext text: > {%- if is_state('device_tracker.owntracks_jeffreysphone', 'home') and - is_state('device_tracker.katheriesiphone', 'home') -%} + is_state('device_tracker.katherinestonesiphone', 'home') -%} You are both home {%- else -%} - Jeff is at {{ states("device_tracker.owntracks_jeffreysiphone") }} - and Kat is at {{ states("device_tracker.katheriesiphone") }} + Jeff is at {{ states("device_tracker.owntracks_jeffreysphone") }} + and Kat is at {{ states("device_tracker.katherinestonesiphone") }} {% endif %} WhereIsJeffIntent: @@ -29,12 +29,12 @@ intents: speech: type: plaintext text: > - {%- if is_state('device_tracker.katheriesiphone', 'home') -%} + {%- if is_state('device_tracker.katherinestonesiphone', 'home') -%} Kat is at home {%- else -%} - {%- if is_state('device_tracker.katheriesiphone', 'not_home') -%} + {%- if is_state('device_tracker.katherinestonesiphone', 'not_home') -%} Kat is not here {%- else -%} - Kat is at {{ states("device_tracker.katheriesiphone") }} + Kat is at {{ states("device_tracker.katherinestonesiphone") }} {% endif %} {% endif %} \ No newline at end of file