-
Notifications
You must be signed in to change notification settings - Fork 25
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
Change range to work with all car types, make icon car-type dependant #268
Conversation
Changed range to use value from driving_range.total_range_in_km instead of a value from charging (so it can be used by all engine types)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. No idea why we didn't use the range from the driving_range right away 🤷♂️
Minor comment + linter wants an extra newline (tip: install https://docs.astral.sh/ruff/ in your editor and it will auto-format things for you right away)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. As soon as you fix the merge conflict, we can go ahead and commit this. Thanks for your contribution!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
Changed range to use value from driving_range.total_range_in_km instead of a value from charging (so it can be used by all engine types)