hyundai-kia-connect-api 3.17.1__py2.py3-none-any.whl → 3.17.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.
@@ -39,8 +39,9 @@ _LOGGER = logging.getLogger(__name__)
39
39
  class KiaSSLAdapter(HTTPAdapter):
40
40
  def init_poolmanager(self, *args, **kwargs):
41
41
  context = create_urllib3_context(
42
- ciphers='DEFAULT:@SECLEVEL=1', ssl_version=ssl.PROTOCOL_TLSv1_2)
43
- kwargs['ssl_context'] = context
42
+ ciphers="DEFAULT:@SECLEVEL=1", ssl_version=ssl.PROTOCOL_TLSv1_2
43
+ )
44
+ kwargs["ssl_context"] = context
44
45
  return super().init_poolmanager(*args, **kwargs)
45
46
 
46
47
 
@@ -231,11 +231,10 @@ class KiaUvoApiAU(ApiImpl):
231
231
  if int(value) > 1260:
232
232
  value = dt.datetime.strptime(str(value), "%H%M").time()
233
233
  else:
234
- if timesection == 0:
235
- value = str(value) + " AM"
236
- elif timesection == 1:
237
- value = str(value) + " PM"
238
- value = dt.datetime.strptime(value, "%I%M %p").time()
234
+ d = dt.datetime.strptime(str(value), "%I%M")
235
+ if timesection > 0:
236
+ d += dt.timedelta(hours=12)
237
+ value = d.time()
239
238
  return value
240
239
 
241
240
  def update_vehicle_with_cached_state(self, token: Token, vehicle: Vehicle) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hyundai_kia_connect_api
3
- Version: 3.17.1
3
+ Version: 3.17.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
@@ -1,7 +1,7 @@
1
1
  hyundai_kia_connect_api/ApiImpl.py,sha256=1j5FRTQIILrSzQU6oE5i4J_l8cVvYuMGBmQn-kL7zyg,5018
2
2
  hyundai_kia_connect_api/HyundaiBlueLinkAPIUSA.py,sha256=FVWDzmkO_jsc_r4WzufgxaJkeVYhf9UAw9A6r37b-Dc,26750
3
- hyundai_kia_connect_api/KiaUvoAPIUSA.py,sha256=Y4UZtms8Rk-od1ZlGQ2ZhR2DcPPhoNOhL3mQ1Ydrp_0,31208
4
- hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=voZYw2QxWLwzbTc1hwATcgaT_0aZZl29xVFGmiYHPdg,48800
3
+ hyundai_kia_connect_api/KiaUvoAPIUSA.py,sha256=kQo3PA_FktsAHhdugZi0lrpMcp96WNXcvBJPbIJIcfY,31217
4
+ hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=ncAUEWqepHwYTZqu7JDNAozguucqqIg-HKPvpN_54CE,48738
5
5
  hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=7bcDLcJ3JLLoWldPy514eKhWUAo1Gb1mu_3SaXno4v8,30358
6
6
  hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=MjXdDdm1wDVvFZhgg8AjAF6X2SB-AIFMTE5iRmr80QM,47384
7
7
  hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=GqJhJWJ8vD07OG6dIOj5nammzr7822TNcW031A6AQUw,68001
@@ -12,9 +12,9 @@ hyundai_kia_connect_api/__init__.py,sha256=6UwXW6Lj5VnRtWNOt_0dLFdOYlcbysHCc6ol_
12
12
  hyundai_kia_connect_api/const.py,sha256=C25jgV79u7SZF5xDy96gol_CekIkyI4h3goTyDEmng0,1967
13
13
  hyundai_kia_connect_api/exceptions.py,sha256=m7gyDnvA5OVAK4EXSP_ZwE0s0uV8HsGUV0tiYwqofK0,1343
14
14
  hyundai_kia_connect_api/utils.py,sha256=rfhERPXkzqelsaieLtiAyN9xDDTheNyKX5aBPRLrHf4,1117
15
- hyundai_kia_connect_api-3.17.1.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
16
- hyundai_kia_connect_api-3.17.1.dist-info/LICENSE,sha256=AsZwIRViAze7ObwO6V6IB0q4caXv6DJS2-3dsU1FWy8,1069
17
- hyundai_kia_connect_api-3.17.1.dist-info/METADATA,sha256=VGRxcAXvKu1Btq-lzyzLoBslMcoyWEPicDemYHlOYX8,5770
18
- hyundai_kia_connect_api-3.17.1.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
19
- hyundai_kia_connect_api-3.17.1.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
20
- hyundai_kia_connect_api-3.17.1.dist-info/RECORD,,
15
+ hyundai_kia_connect_api-3.17.2.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
16
+ hyundai_kia_connect_api-3.17.2.dist-info/LICENSE,sha256=AsZwIRViAze7ObwO6V6IB0q4caXv6DJS2-3dsU1FWy8,1069
17
+ hyundai_kia_connect_api-3.17.2.dist-info/METADATA,sha256=zqlBsOOCvbM23zLOxiJdjUsw-M5Bpee8Qa7YttFRg2g,5770
18
+ hyundai_kia_connect_api-3.17.2.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
19
+ hyundai_kia_connect_api-3.17.2.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
20
+ hyundai_kia_connect_api-3.17.2.dist-info/RECORD,,