mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-15 10:44:41 +00:00
Testing getting batt from owntracks
This commit is contained in:
10
sensors/owntracks.yaml
Normal file
10
sensors/owntracks.yaml
Normal file
@@ -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 }}'
|
Reference in New Issue
Block a user