hyundai-kia-connect-api 3.24.1__py2.py3-none-any.whl → 3.24.2__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.

Potentially problematic release.


This version of hyundai-kia-connect-api might be problematic. Click here for more details.

@@ -302,15 +302,16 @@ class KiaUvoApiAU(ApiImplType1):
302
302
  else:
303
303
  vehicle.last_updated_at = dt.datetime.now(self.data_timezone)
304
304
 
305
- vehicle.odometer = (
306
- get_child_value(state, "status.odometer.value"),
307
- DISTANCE_UNITS[
308
- get_child_value(
309
- state,
310
- "status.odometer.unit",
311
- )
312
- ],
313
- )
305
+ if get_child_value(state, "status.odometer.value"):
306
+ vehicle.odometer = (
307
+ get_child_value(state, "status.odometer.value"),
308
+ DISTANCE_UNITS[
309
+ get_child_value(
310
+ state,
311
+ "status.odometer.unit",
312
+ )
313
+ ],
314
+ )
314
315
  vehicle.car_battery_percentage = get_child_value(state, "status.battery.batSoc")
315
316
  vehicle.engine_is_running = get_child_value(state, "status.engine")
316
317
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hyundai_kia_connect_api
3
- Version: 3.24.1
3
+ Version: 3.24.2
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
@@ -2,7 +2,7 @@ hyundai_kia_connect_api/ApiImpl.py,sha256=7tB6PZTEVlw-GCfEjU4ekq_ZgnFseYLrEYpbUy
2
2
  hyundai_kia_connect_api/ApiImplType1.py,sha256=PnKwpbCoYGOXBWzBLIlDSrC6daIYeW9qlfW7TM4HCU0,12184
3
3
  hyundai_kia_connect_api/HyundaiBlueLinkAPIUSA.py,sha256=MK1cFcnuZebogz32-nXjHt0pAgQ1-2lrurw8SADX6ww,36690
4
4
  hyundai_kia_connect_api/KiaUvoAPIUSA.py,sha256=FmRc7bAmsOz9jBtWSAb8lD0ybRMN0OgfEPZZJbPhMUw,31292
5
- hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=955V2cBUdfnrzQNjF-XJw7D3jYZI6NfQl3OTLsiWwkA,48375
5
+ hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=tslh0gzvPBwYJmcWlf9B0l7PyYZdy2e7GqpRkl8_Svk,48471
6
6
  hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=B3Lks_ONr3l01QLl-GQBPdktXj9PZWKuQKRLYmJ7kP4,30763
7
7
  hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=cwIPZ0dU6HolKdooUQeQKlLAic6YU8dQmNs0VQDBgpQ,47035
8
8
  hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=_wNkctkIO2hrf1K2LTZPtHWZ5ewTcXqTv0s_AXRXI2I,68254
@@ -13,9 +13,9 @@ hyundai_kia_connect_api/__init__.py,sha256=IkyVeIMbcFJZgLaiiNnUVA1Ferxvrm1bXHKVg
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=J0aXUX-nKIoS3XbelatNh-DZlHRU2_DYz_Mg_ZUKQJU,1957
16
- hyundai_kia_connect_api-3.24.1.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
17
- hyundai_kia_connect_api-3.24.1.dist-info/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
18
- hyundai_kia_connect_api-3.24.1.dist-info/METADATA,sha256=GLYawG9GblBIlPefUgeQ2Dg0jGeYuNVJ_7XkS65CgAU,6071
19
- hyundai_kia_connect_api-3.24.1.dist-info/WHEEL,sha256=OpXWERl2xLPRHTvd2ZXo_iluPEQd8uSbYkJ53NAER_Y,109
20
- hyundai_kia_connect_api-3.24.1.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
21
- hyundai_kia_connect_api-3.24.1.dist-info/RECORD,,
16
+ hyundai_kia_connect_api-3.24.2.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
17
+ hyundai_kia_connect_api-3.24.2.dist-info/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
18
+ hyundai_kia_connect_api-3.24.2.dist-info/METADATA,sha256=jBhEZSSycXW3f31TmjPNIr32pDKm2T01Y9VnfAxJ-1U,6071
19
+ hyundai_kia_connect_api-3.24.2.dist-info/WHEEL,sha256=OpXWERl2xLPRHTvd2ZXo_iluPEQd8uSbYkJ53NAER_Y,109
20
+ hyundai_kia_connect_api-3.24.2.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
21
+ hyundai_kia_connect_api-3.24.2.dist-info/RECORD,,