diff --git a/groups.yaml b/groups.yaml index 0c7d551..cb13c3c 100644 --- a/groups.yaml +++ b/groups.yaml @@ -40,7 +40,7 @@ Family: Jeffrey: - device_tracker.owntracks_jeffreysphone - - sensor.mqtt_jeff_iphone_battery + - sensor.mqtt_jeff_phone_battery - device_tracker.jeffreyonesipad - device_tracker.jeffreysmbp - device_tracker.jstonemac diff --git a/sensors/owntracks.yaml b/sensors/owntracks.yaml index 2c0b863..0bb2975 100644 --- a/sensors/owntracks.yaml +++ b/sensors/owntracks.yaml @@ -1,7 +1,14 @@ - platform: mqtt + name: "Jeff Phone Battery" state_topic: "owntracks/owntracks/jeffreysphone" - name: "Jeff iPhone Battery" + qos: 0 unit_of_measurement: "%" 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 }}' \ No newline at end of file