HA Companion App - include the GPS fix time as a device_tracker attribute

As per the title, many uses of GPS data need to know the time of the GPS fix/data. For some reason this is not included in the integration - on the iOS app for sure.

I don’t know why this is and it would be so good if it could be added as an attribute to the device_tracker entity.

Thank you!

Every entity has a timestamp for when it was updated. If you want that information, just create a template sensor that extracts it.

- sensor:
  - name: Last GPS
    unique_id: a2439dfe8a98e
    state: "{{ states.sensor.gps.last_updated }}"
    device_class: timestamp

You can see this when you click on an entity without needing to create a template sensor.