Testing getting batt from owntracks
This commit is contained in:
parent
8158639051
commit
a4af019136
|
@ -40,6 +40,7 @@ Family:
|
||||||
|
|
||||||
Jeffrey:
|
Jeffrey:
|
||||||
- device_tracker.owntracks_jeffreysphone
|
- device_tracker.owntracks_jeffreysphone
|
||||||
|
- sensor.jeffs_phone_battery
|
||||||
- device_tracker.jeffreyonesipad
|
- device_tracker.jeffreyonesipad
|
||||||
- device_tracker.jeffreysmbp
|
- device_tracker.jeffreysmbp
|
||||||
- device_tracker.jstonemac
|
- device_tracker.jstonemac
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
- 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 }}'
|
Loading…
Reference in New Issue