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

Fixed missing combined range from API and calculates it #60

Merged
merged 1 commit into from
Jul 4, 2022
Merged

Fixed missing combined range from API and calculates it #60

merged 1 commit into from
Jul 4, 2022

Conversation

loeffelpan
Copy link
Contributor

@loeffelpan loeffelpan commented Jul 4, 2022

This will calculate combined range with electric and combustion range (if both are supported) instead of missing value from API-response.
Should fix skodaconnect/homeassistant-skodaconnect#123.

@loeffelpan loeffelpan marked this pull request as ready for review July 4, 2022 16:20
@Farfar
Copy link
Collaborator

Farfar commented Jul 4, 2022

Simple enough to work good! I don't think the combined range attribute will return since it's been gone for some time now.

@Farfar Farfar merged commit bb0b34d into skodaconnect:main Jul 4, 2022
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.

Missing entity value
2 participants