From 1439c64b94b2ac33b2d016df19d2522ae780aa72 Mon Sep 17 00:00:00 2001 From: cdnninja Date: Wed, 27 Mar 2024 20:00:28 -0600 Subject: [PATCH] fix(EU): Add Distance 2 for miles (#538) https://github.com/Hyundai-Kia-Connect/kia_uvo/issues/855 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- hyundai_kia_connect_api/const.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hyundai_kia_connect_api/const.py b/hyundai_kia_connect_api/const.py index ea5005ff..25fb55cd 100644 --- a/hyundai_kia_connect_api/const.py +++ b/hyundai_kia_connect_api/const.py @@ -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"