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

Bugfix: BMW i3, Make kWh more accurate #918

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Conversation

dalathegreat
Copy link
Owner

What

This PR makes the max kWh value reported by battery more accurate

Why

Bug, reported in #914

How

Instead of rounding the values down to kWh, we increase resolution to Wh.

battery_energy_content_maximum_kWh becomes battery_energy_content_maximum_Wh

@dalathegreat dalathegreat changed the title Make kWh more accurate Bugfix: BMW i3, Make kWh more accurate Feb 25, 2025
@dalathegreat dalathegreat merged commit 827e7ea into main Feb 26, 2025
118 checks passed
@dalathegreat dalathegreat deleted the bugfix/i3-kwh-formatting branch February 26, 2025 19:07
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.

1 participant