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 - platform: mqtt
state_topic: "owntracks/owntracks/jeffreysphone" sensors:
name: "Jeffs Phone Battery" Jeffs Phone Battery:
unit_of_measurement: "%" state_topic: "owntracks/owntracks/jeffreysphone"
value_template: '{{ value_json.batt }}' unit_of_measurement: "%"
- platform: mqtt value_template: '{{ value_json.batt }}'
state_topic: "owntracks/owntracks/jeffreysphone"
name: "Jeffs Velocity" #state_topic: "owntracks/owntracks/jeffreysphone"
unit_of_measurement: "%" #name: "Jeffs Velocity"
value_template: '{{ value_json.vel }}' #unit_of_measurement: "%"
#value_template: '{{ value_json.vel }}'