robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
340 stars 63 forks source link

[FR] Get Position as sensor from car data #676

Open AlexJacu opened 1 week ago

AlexJacu commented 1 week ago

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

The position is only available as Attribute and not easy to use. I would like to see a sensor that has the Position an value, so the user ca use this easy to show the actual position of the car. The integration could do that for all users and thea can easy use that to show position of the car

Describe alternatives you've considered

manually extract the data from attributes, is not so easy, as the Atrribute names are localized and it hat to be dealed calculation

Additional context

magicus commented 3 days ago

@AlexJacu I recommend that you have a look at https://github.com/gjohansson-ST/attribute_as_sensor.