Closed mkeegan closed 1 month ago
@mkeegan you should switch to the "imperial units" if you want to see it converted to miles. "km to mil" is only switching km to mil without any conversation.
I don't know why this option is present. @robinostlund I don't know the history, but do you know the use case for this "km to mil" option? If not, I will deprecate it in the next version, it's quite confusing... :)
Thanks, @stickpin ! That's resolved it. Agree with you that it's confusing.
"Mil" is probably referring to the "Scandinavian mile", which probably makes sense only to Swedes and Norwegians. So it should be the km value divided by 10. At the very least, it should probably be renamed for clarity.
Oh, and if it's showing the value in km, it's just wrong on all levels :joy:
@milkboy I was checking the code and old issues, and it seems like there is a use case where VW Backend is returning already converted to miles values, so in this case we need this "rename" function.
But i don't know if this use case is still applicable to the new Backend.
@stickpin if i dont remember wrong i implemented this as the response where in mil in the old service. But feel free to remove it if you see that it is not necessary anymore 😊
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Before you post a new issue - you must first check the following (and check the boxes with an "X" below)
Environment
Describe the bug
Steps to Reproduce
Configure integration for
km to mil
.Expected behavior
Integration is configured for
km to mil
. Sensors should show range and odometer values in miles but these are incorrect. When converted it is actually kilometers.Screenshots
Traceback/Error logs
Debug information - all JSON responses from logfile
Additional context
I've attempted to toggle the configuration values to
No conversion
and then back tokm to mil
but this didn't have an aNote
Issues lacking sufficient details or context may be subject to closure without prior notice. Detailed bug reports are essential for effective issue resolution. Thank you for your cooperation.