Switching back to owntracks for my presence

This commit is contained in:
Jeffrey Stone 2017-01-05 11:19:12 -05:00
parent 0d20992bdd
commit 77d88b359a
1 changed files with 6 additions and 6 deletions

View File

@ -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 %}