mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-15 02:34:43 +00:00
Fixing Kat's phone
This commit is contained in:
@@ -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 %}
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user