hyundai-kia-connect-api 3.22.7__py2.py3-none-any.whl → 3.22.8__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -402,16 +402,16 @@ class KiaUvoApiEU(ApiImplType1):
402
402
  )
403
403
  else:
404
404
  vehicle.last_updated_at = dt.datetime.now(self.data_timezone)
405
-
406
- vehicle.odometer = (
407
- get_child_value(state, "odometer.value"),
408
- DISTANCE_UNITS[
409
- get_child_value(
410
- state,
411
- "odometer.unit",
412
- )
413
- ],
414
- )
405
+ if get_child_value(state, "odometer.value"):
406
+ vehicle.odometer = (
407
+ get_child_value(state, "odometer.value"),
408
+ DISTANCE_UNITS[
409
+ get_child_value(
410
+ state,
411
+ "odometer.unit",
412
+ )
413
+ ],
414
+ )
415
415
  vehicle.car_battery_percentage = get_child_value(
416
416
  state, "vehicleStatus.battery.batSoc"
417
417
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hyundai_kia_connect_api
3
- Version: 3.22.7
3
+ Version: 3.22.8
4
4
  Summary: Python Boilerplate contains all the boilerplate you need to create a Python package.
5
5
  Home-page: https://github.com/fuatakgun/hyundai_kia_connect_api
6
6
  Author: Fuat Akgun
@@ -5,7 +5,7 @@ hyundai_kia_connect_api/KiaUvoAPIUSA.py,sha256=Cvkjat13g4AmETUxjpLkwCnB9i0Unck2j
5
5
  hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=FeK502Zysgcg3Yx31mjTh4rivFRuGB2sS07TldBzchk,48014
6
6
  hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=F2OI52H2bpX4hDHRrbjWt2Y6iODu7iIEfxFF7W52Jh4,30450
7
7
  hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=cW9YRmt5CPUTB9dHEO7B1ev8SnLjeyzuLN9o50V7JXc,46852
8
- hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=6RGVHoDpegx1wT_SfMNp99HGII-9CUr1ziF_V3mStPs,68755
8
+ hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=s50d-n8ghAgAYG__AbQd0YYsg_cayXXoSJ7bGeD3kug,68843
9
9
  hyundai_kia_connect_api/Token.py,sha256=ZsPvXh1ID7FUTGHAqhZUZyrKT7xVbOtIn6FRJn4Ygf0,370
10
10
  hyundai_kia_connect_api/Vehicle.py,sha256=Gaux63hYW0Lwfr2dtqlXUYbNwranUIiGaAT0Xh0nsFo,16028
11
11
  hyundai_kia_connect_api/VehicleManager.py,sha256=b-umPTBNFn5gmJcXQr7Qi978UVTJQrWhp_r15HdMOuw,10156
@@ -13,9 +13,9 @@ hyundai_kia_connect_api/__init__.py,sha256=i2kXYjBEKSvT1e8FoQ7V7oqAyL22w3XzF2rAF
13
13
  hyundai_kia_connect_api/const.py,sha256=ofi_ZfGxJYo0FWIcGFbIMSMRdKRtaK4GUDhFiQRvZeI,2007
14
14
  hyundai_kia_connect_api/exceptions.py,sha256=m7gyDnvA5OVAK4EXSP_ZwE0s0uV8HsGUV0tiYwqofK0,1343
15
15
  hyundai_kia_connect_api/utils.py,sha256=WnFAb5iqFIjXAPnA--fxAcqsONcLLgxkU2uJn3xd5Kc,1934
16
- hyundai_kia_connect_api-3.22.7.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
17
- hyundai_kia_connect_api-3.22.7.dist-info/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
18
- hyundai_kia_connect_api-3.22.7.dist-info/METADATA,sha256=Dk94ZO23Cwi4QdpAj-kal1hBUBk8WVy0HBGlEnOFaJc,6043
19
- hyundai_kia_connect_api-3.22.7.dist-info/WHEEL,sha256=M4n4zmFKzQZk4mLCcycNIzIXO7YPKE_b5Cw4PnhHEg8,109
20
- hyundai_kia_connect_api-3.22.7.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
21
- hyundai_kia_connect_api-3.22.7.dist-info/RECORD,,
16
+ hyundai_kia_connect_api-3.22.8.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
17
+ hyundai_kia_connect_api-3.22.8.dist-info/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
18
+ hyundai_kia_connect_api-3.22.8.dist-info/METADATA,sha256=ai494cqTJMkDxcORyQr-k1Bf42m7iZsA-TItu48mUgs,6043
19
+ hyundai_kia_connect_api-3.22.8.dist-info/WHEEL,sha256=GUeE9LxUgRABPG7YM0jCNs9cBsAIx0YAkzCB88PMLgc,109
20
+ hyundai_kia_connect_api-3.22.8.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
21
+ hyundai_kia_connect_api-3.22.8.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (72.2.0)
2
+ Generator: setuptools (73.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any