Updating device name

This commit is contained in:
Jeffrey Stone 2016-12-31 14:18:56 -05:00
parent be2805457b
commit 57f27a0125
3 changed files with 8 additions and 8 deletions

View File

@ -3,11 +3,11 @@ intents:
speech: speech:
type: plaintext type: plaintext
text: > text: >
{%- if is_state('device_tracker.jarvis_jeffreysphone', 'home') and {%- if is_state('device_tracker.owntracks_jeffreysphone', 'home') and
is_state('device_tracker.katheriesiphone', 'home') -%} is_state('device_tracker.katheriesiphone', 'home') -%}
You are both home You are both home
{%- else -%} {%- else -%}
Jeff is at {{ states("device_tracker.jarvis_jeffreysiphone") }} Jeff is at {{ states("device_tracker.owntracks_jeffreysiphone") }}
and Kat is at {{ states("device_tracker.katheriesiphone") }} and Kat is at {{ states("device_tracker.katheriesiphone") }}
{% endif %} {% endif %}
@ -15,13 +15,13 @@ intents:
speech: speech:
type: plaintext type: plaintext
text: > text: >
{%- if is_state('device_tracker.jarvis_jeffreysphone', 'home') -%} {%- if is_state('device_tracker.owntracks_jeffreysphone', 'home') -%}
It appears Jeff is here somewhere It appears Jeff is here somewhere
{%- else -%} {%- else -%}
{%- if is_state('device_tracker.jarvis_jeffreysphone', 'not_home') -%} {%- if is_state('device_tracker.owntracks_jeffreysphone', 'not_home') -%}
Jeff is not here Jeff is not here
{%- else -%} {%- else -%}
Jeff is at {{ states("device_tracker.jarvis_jeffreysphone") }} Jeff is at {{ states("device_tracker.owntracks_jeffreysphone") }}
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -63,7 +63,7 @@ sensor.dark_sky_visability:
# Devices # # Devices #
device_tracker.jarvis_jeffreysphone: device_tracker.owntracks_jeffreysphone:
#icon: mdi:human-male #icon: mdi:human-male
entity_picture: !secret JEFF_ICON entity_picture: !secret JEFF_ICON
friendly_name: Jeff friendly_name: Jeff

View File

@ -35,11 +35,11 @@ environment:
### Grops ### ### Grops ###
Family: Family:
- device_tracker.jarvis_jeffreysphone - device_tracker.owntracks_jeffreysphone
- device_tracker.katheriesiphone - device_tracker.katheriesiphone
Jeffrey: Jeffrey:
- device_tracker.jarvis_jeffreysphone - device_tracker.owntracks_jeffreysphone
- device_tracker.jeffreyonesipad - device_tracker.jeffreyonesipad
- device_tracker.jeffreysmbp - device_tracker.jeffreysmbp
- device_tracker.jstonemac - device_tracker.jstonemac