fix: treat yutong mqtt mileage as meters
This commit is contained in:
@@ -197,8 +197,5 @@ func looksLikeVIN(value string) bool {
|
||||
}
|
||||
|
||||
func normalizeTotalMileageKM(value float64) float64 {
|
||||
if value > 1_000_000 {
|
||||
return value / 1000
|
||||
}
|
||||
return value
|
||||
return value / 1000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user