Fixing Kat's phone

This commit is contained in:
Jeffrey Stone
2017-04-20 21:16:07 -04:00
parent 8c70675ca6
commit bb341cf083
4 changed files with 6 additions and 6 deletions

View File

@@ -81,8 +81,8 @@
kat_iphone_batt:
unit_of_measurement: '%'
value_template: >-
{%- if states.device_tracker.katherinesiphone.attributes.battery %}
{{ states.device_tracker.katherinesiphone.attributes.battery | round(1) }}
{%- if states.device_tracker.katherinestonesiphone.attributes.battery %}
{{ states.device_tracker.katherinestonesiphone.attributes.battery | round(1) }}
{% else %}
{{ states.sensor.kat_iphone_batt.state }}
{%- endif %}

View File

@@ -6,7 +6,7 @@
- platform: google_travel_time
name: "Kat ETT Home"
api_key: !secret google_api
origin: device_tracker.katherinesiphone
origin: device_tracker.katherinestonesiphone
destination: zone.home
- platform: google_travel_time
name: "Home To Summit"