Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide vehicle location like the Volvo Ex30 app #278

Open
Aspyryan opened this issue Nov 29, 2024 · 3 comments
Open

Provide vehicle location like the Volvo Ex30 app #278

Aspyryan opened this issue Nov 29, 2024 · 3 comments

Comments

@Aspyryan
Copy link

Is your feature request related to a problem? Please describe.
Right now in Home Assistant, I can only see "Location" as "Away" for my Volvo EX30, is there any way to get the lat / long or location name from the API?

@dennistd4
Copy link

It's already there, in the attributes of the location entity:

source_type: gps
latitude: 52.xxxxxx
longitude: 7.xxxxxxx
gps_accuracy: 1
icon: mdi:map-marker-radius
friendly_name: EX30 (2024) - YV12ZEL9xxxxxxxxx Location

@Aspyryan
Copy link
Author

Aspyryan commented Dec 6, 2024

How do I extract the attributes to a seperate entity?

I also don't see a 'friendly_name'

image

@dennistd4
Copy link

dennistd4 commented Dec 9, 2024

You can use for example this on a entities card:

entities:
  - type: attribute
    name: Latitude
    entity: device_tracker.volvo_yv12zel9xxxxxxxxxxx_location
    attribute: latitude

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants