Hyundai-Kia-Connect / kia_uvo

A Home Assistant HACS integration that supports Kia Connect(Uvo) and Hyundai Bluelink. The integration supports the EU, Canada and the USA.
MIT License
427 stars 85 forks source link

fix: vehcile data sensor missing #737

Closed Triple-S closed 11 months ago

Triple-S commented 11 months ago

Hello, I noticed that the sensor providing the raw vehicle data from the API was only created for the last vehicle and not all of them since it was set up outside of the vehicle loop. I'm pretty sure that this in not intended and therefore implemented a fix. Best regards.

cdnninja commented 11 months ago

Is this tested out locally as fixing it?

Triple-S commented 11 months ago

I tested it in my HA installation with my car and the one of my parents and it workes fine.

Triple-S commented 11 months ago

Is there any problem with this contribution? I would like to sort this out as I don't want to implement the fix locally everytime I update the integration.

fuatakgun commented 11 months ago

Looks good to me, @cdnninja , any thoughts?