From eb6835afa298b1363bbb1893a99b65019ec5c9da Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Sun, 1 Jan 2017 21:59:53 -0500 Subject: [PATCH] Updating deprecated F for temp_unit --- configuration.yaml | 2 +- groups.yaml | 2 +- sensors/owntracks.yaml | 14 +++++--------- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/configuration.yaml b/configuration.yaml index a95d1e7..8e9f8f3 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -2,7 +2,7 @@ homeassistant: name: Home latitude: !secret MY_LATITUDE longitude: !secret MY_LONGITUDE - temperature_unit: F + temperature_unit: imperial time_zone: America/New_York customize: !include customize.yaml group: !include groups.yaml diff --git a/groups.yaml b/groups.yaml index ab91e79..0c7d551 100644 --- a/groups.yaml +++ b/groups.yaml @@ -40,7 +40,7 @@ Family: Jeffrey: - device_tracker.owntracks_jeffreysphone - - sensor.jeffs_phone_battery + - sensor.mqtt_jeff_iphone_battery - device_tracker.jeffreyonesipad - device_tracker.jeffreysmbp - device_tracker.jstonemac diff --git a/sensors/owntracks.yaml b/sensors/owntracks.yaml index 4818552..2c0b863 100644 --- a/sensors/owntracks.yaml +++ b/sensors/owntracks.yaml @@ -1,11 +1,7 @@ - platform: mqtt - sensors: - Jeffs Phone Battery: - state_topic: "owntracks/owntracks/jeffreysphone" - unit_of_measurement: "%" - value_template: '{{ value_json.batt }}' + state_topic: "owntracks/owntracks/jeffreysphone" + name: "Jeff iPhone Battery" + unit_of_measurement: "%" + value_template: '{{ value_json.batt }}' - #state_topic: "owntracks/owntracks/jeffreysphone" - #name: "Jeffs Velocity" - #unit_of_measurement: "%" - #value_template: '{{ value_json.vel }}' \ No newline at end of file + \ No newline at end of file