Skip to content

Commit

Permalink
fix(EU): Add Distance 2 for miles (#538)
Browse files Browse the repository at this point in the history
Hyundai-Kia-Connect/kia_uvo#855

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
cdnninja and pre-commit-ci[bot] authored Mar 28, 2024
1 parent 0645787 commit 1439c64
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hyundai_kia_connect_api/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@

LENGTH_KILOMETERS = "km"
LENGTH_MILES = "mi"
DISTANCE_UNITS = {None: None, 0: None, 1: LENGTH_KILOMETERS, 3: LENGTH_MILES}
DISTANCE_UNITS = {
None: None,
0: None,
1: LENGTH_KILOMETERS,
2: LENGTH_MILES,
3: LENGTH_MILES,
}

TEMPERATURE_C = "°C"
TEMPERATURE_F = "°F"
Expand Down

0 comments on commit 1439c64

Please sign in to comment.