hyundai-kia-connect-api 3.3.5__py2.py3-none-any.whl → 3.3.7__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.
@@ -254,17 +254,14 @@ class HyundaiBlueLinkAPIUSA(ApiImpl):
254
254
  state, "vehicleStatus.smartKeyBatteryWarning"
255
255
  )
256
256
 
257
- air_temp = (
258
- get_child_value(state, "vehicleStatus.evStatus.airTemp.value"),
259
- "f",
260
- )
257
+ air_temp = get_child_value(state, "vehicleStatus.airTemp.value")
261
258
 
262
259
  if air_temp == "LO":
263
260
  air_temp = self.temperature_range[0]
264
261
  if air_temp == "HI":
265
262
  air_temp = self.temperature_range[-1]
266
-
267
- vehicle.air_temperature = (air_temp, TEMPERATURE_UNITS[1])
263
+ if air_temp:
264
+ vehicle.air_temperature = (air_temp, TEMPERATURE_UNITS[1])
268
265
  vehicle.defrost_is_on = get_child_value(state, "vehicleStatus.defrost")
269
266
  vehicle.steering_wheel_heater_is_on = get_child_value(
270
267
  state, "vehicleStatus.steerWheelHeat"
@@ -52,8 +52,8 @@ class cipherAdapter(requests.adapters.HTTPAdapter):
52
52
  context.set_ciphers(CIPHERS)
53
53
  context.options |= getattr(ssl, "OP_LEGACY_SERVER_CONNECT", 0x4)
54
54
  self.poolmanager = urllib3.poolmanager.PoolManager(
55
- ssl_version=ssl.PROTOCOL_TLS,
56
- ssl_context=context)
55
+ ssl_version=ssl.PROTOCOL_TLS, ssl_context=context
56
+ )
57
57
 
58
58
 
59
59
  class KiaUvoApiCA(ApiImpl):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hyundai-kia-connect-api
3
- Version: 3.3.5
3
+ Version: 3.3.7
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
@@ -1,7 +1,7 @@
1
1
  hyundai_kia_connect_api/ApiImpl.py,sha256=BdpZSWmfgG9HmLr-0VFKqBEZ43VJN_y4laYRK-b6Nk4,4626
2
- hyundai_kia_connect_api/HyundaiBlueLinkAPIUSA.py,sha256=2jcoTHJs6bgQMFoag3APLtiaon1IgFfhmsW3lcSWJac,23907
2
+ hyundai_kia_connect_api/HyundaiBlueLinkAPIUSA.py,sha256=QStSWimMzxcBGmM0NyVk0egwKNp40_4bH-RwJoGArqo,23880
3
3
  hyundai_kia_connect_api/KiaUvoAPIUSA.py,sha256=NWQNOH3lQzxjyifeMIAjPfWamVzArqymZ8VgKP3_VMY,27449
4
- hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=sfA67Dl-YV4DiLWJfjFqOS6RuUTIUG6QKSiSEfKxeYw,29988
4
+ hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=8OSXWRw0Nt8l5Ac63iZwBYiYK-x89j_k-tqEip4NaUw,29985
5
5
  hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=QmjevKCMt4GzhtF7ZZ5tfyV0rAqNTE9EHmhQr4u1Pgw,51311
6
6
  hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=TO7MZvc3BnnGMSflJH-MObBFfJI2YpPvd5M392iYiIM,53887
7
7
  hyundai_kia_connect_api/Token.py,sha256=odHSR-D7CnL19hh6f6cc3rablchzqS0I2GXf7jWvsQE,369
@@ -11,9 +11,9 @@ hyundai_kia_connect_api/__init__.py,sha256=nHv9mufHuKHAwEZncS4EQRxYMohsR9NdLltOS
11
11
  hyundai_kia_connect_api/const.py,sha256=Yb7yJtALZzsmnizzzqiKpdZbh1FTu4jc9tFj-tuB4rc,1690
12
12
  hyundai_kia_connect_api/exceptions.py,sha256=pUKegYbLkRXmgfAW4ApW805xwyhcjOA6SEo1VVmwiDU,1228
13
13
  hyundai_kia_connect_api/utils.py,sha256=u0F4PdWA0l_ikZaWJU_9WAwtW1t__KPOiHDef8Ka7ck,751
14
- hyundai_kia_connect_api-3.3.5.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
15
- hyundai_kia_connect_api-3.3.5.dist-info/LICENSE,sha256=AsZwIRViAze7ObwO6V6IB0q4caXv6DJS2-3dsU1FWy8,1069
16
- hyundai_kia_connect_api-3.3.5.dist-info/METADATA,sha256=Q_297iW-wExW7LvpgVepNixbtKGGoBd-XeaBcnax410,5714
17
- hyundai_kia_connect_api-3.3.5.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
18
- hyundai_kia_connect_api-3.3.5.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
19
- hyundai_kia_connect_api-3.3.5.dist-info/RECORD,,
14
+ hyundai_kia_connect_api-3.3.7.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
15
+ hyundai_kia_connect_api-3.3.7.dist-info/LICENSE,sha256=AsZwIRViAze7ObwO6V6IB0q4caXv6DJS2-3dsU1FWy8,1069
16
+ hyundai_kia_connect_api-3.3.7.dist-info/METADATA,sha256=yZflzFdL6PaIvVf4TomJ0LE8xFYkKe4EbicDtjFlCRA,5714
17
+ hyundai_kia_connect_api-3.3.7.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
18
+ hyundai_kia_connect_api-3.3.7.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
19
+ hyundai_kia_connect_api-3.3.7.dist-info/RECORD,,