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

@@ -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 }}'