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

fix: vehcile data sensor missing #737

Conversation

Triple-S
Copy link
Contributor

@Triple-S Triple-S commented Nov 2, 2023

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.

@Triple-S Triple-S changed the title [Bugfix] Vehicle data sensor was only created for the last vehicle and not all fix: Vehicle data sensor was only created for the last vehicle and not all Nov 2, 2023
@cdnninja
Copy link
Collaborator

cdnninja commented Nov 2, 2023

Is this tested out locally as fixing it?

@Triple-S
Copy link
Contributor Author

Triple-S commented Nov 2, 2023

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

@Triple-S
Copy link
Contributor Author

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
Copy link
Member

Looks good to me, @cdnninja , any thoughts?

@cdnninja cdnninja changed the title fix: Vehicle data sensor was only created for the last vehicle and not all fix: vehcile data sensor missing Nov 15, 2023
@cdnninja cdnninja merged commit c4ddc84 into Hyundai-Kia-Connect:master Nov 15, 2023
11 of 12 checks passed
@Triple-S Triple-S deleted the bugfix-data-sensor-for-all-vehicles branch November 15, 2023 14:52
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

Successfully merging this pull request may close these issues.

3 participants