Got the mqtt sensor fixed

This commit is contained in:
Jeffrey Stone 2017-01-01 22:24:34 -05:00
parent eb6835afa2
commit 3e95f89e9f
2 changed files with 9 additions and 2 deletions

View File

@ -40,7 +40,7 @@ Family:
Jeffrey:
- device_tracker.owntracks_jeffreysphone
- sensor.mqtt_jeff_iphone_battery
- sensor.mqtt_jeff_phone_battery
- device_tracker.jeffreyonesipad
- device_tracker.jeffreysmbp
- device_tracker.jstonemac

View File

@ -1,7 +1,14 @@
- platform: mqtt
name: "Jeff Phone Battery"
state_topic: "owntracks/owntracks/jeffreysphone"
name: "Jeff iPhone Battery"
qos: 0
unit_of_measurement: "%"
value_template: '{{ value_json.batt }}'
- platform: mqtt
name: "Jeff Velocity"
state_topic: "owntracks/owntracks/jeffreysphone"
qos: 0
unit_of_measurement: ""
value_template: '{{ value_json.vel }}'