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(EU): fill Vehicle.ev_driving_range with Vehicle.total_driving_range for cc2 for pure EV to have similar behaviour for non-cc2 #512

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

ZuinigeRijder
Copy link
Collaborator

A Kona Model 2024 user complained about the non-filled Vehicle.ev_total_driving_range. In the debug log I do not see this information for this cc2 model. When it is a pure EV, the Vehicle.ev_total_driving_range should be identical to the Vehicle.total_driving_range, as is with non-cc2 EU API.

So for pure EV, this can be fixed for cc2 models (identical behaviour for cc2 and non-cc2 users of the API), to fill Vehicle.ev_total_driving_range with Vehicle.ev_total_driving_range. For non pure EV's (e.g. PHEV) it should be investigated further how to get the Vehicle.ev_total_driving_range (TODO kept).

@ZuinigeRijder ZuinigeRijder changed the title EU cc2: fill Vehicle.ev_driving_range with Vehicle.total_driving_range for cc2 for pure EV to have similar behaviour for non-cc2 fix(EU): cc2 fill Vehicle.ev_driving_range with Vehicle.total_driving_range for cc2 for pure EV to have similar behaviour for non-cc2 Feb 20, 2024
@ZuinigeRijder ZuinigeRijder changed the title fix(EU): cc2 fill Vehicle.ev_driving_range with Vehicle.total_driving_range for cc2 for pure EV to have similar behaviour for non-cc2 fix(EU): fill Vehicle.ev_driving_range with Vehicle.total_driving_range for cc2 for pure EV to have similar behaviour for non-cc2 Feb 20, 2024
@cdnninja cdnninja merged commit 81d99f5 into Hyundai-Kia-Connect:master Feb 20, 2024
15 of 16 checks passed
@ZuinigeRijder ZuinigeRijder deleted the Vehicle_ev_driving_range_not_filled branch February 20, 2024 20:33
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.

None yet

2 participants