Syntax wrong

This commit is contained in:
Jeffrey Stone 2017-01-01 21:44:58 -05:00
parent a4af019136
commit 5b6b0225af
1 changed files with 10 additions and 9 deletions

View File

@ -1,10 +1,11 @@
- platform: mqtt
state_topic: "owntracks/owntracks/jeffreysphone"
name: "Jeffs Phone Battery"
unit_of_measurement: "%"
value_template: '{{ value_json.batt }}'
- platform: mqtt
state_topic: "owntracks/owntracks/jeffreysphone"
name: "Jeffs Velocity"
unit_of_measurement: "%"
value_template: '{{ value_json.vel }}'
sensors:
Jeffs Phone Battery:
state_topic: "owntracks/owntracks/jeffreysphone"
unit_of_measurement: "%"
value_template: '{{ value_json.batt }}'
#state_topic: "owntracks/owntracks/jeffreysphone"
#name: "Jeffs Velocity"
#unit_of_measurement: "%"
#value_template: '{{ value_json.vel }}'