Got the mqtt sensor fixed
This commit is contained in:
parent
eb6835afa2
commit
3e95f89e9f
|
@ -40,7 +40,7 @@ Family:
|
||||||
|
|
||||||
Jeffrey:
|
Jeffrey:
|
||||||
- device_tracker.owntracks_jeffreysphone
|
- device_tracker.owntracks_jeffreysphone
|
||||||
- sensor.mqtt_jeff_iphone_battery
|
- sensor.mqtt_jeff_phone_battery
|
||||||
- device_tracker.jeffreyonesipad
|
- device_tracker.jeffreyonesipad
|
||||||
- device_tracker.jeffreysmbp
|
- device_tracker.jeffreysmbp
|
||||||
- device_tracker.jstonemac
|
- device_tracker.jstonemac
|
||||||
|
|
|
@ -1,7 +1,14 @@
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
|
name: "Jeff Phone Battery"
|
||||||
state_topic: "owntracks/owntracks/jeffreysphone"
|
state_topic: "owntracks/owntracks/jeffreysphone"
|
||||||
name: "Jeff iPhone Battery"
|
qos: 0
|
||||||
unit_of_measurement: "%"
|
unit_of_measurement: "%"
|
||||||
value_template: '{{ value_json.batt }}'
|
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 }}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue