hyundai-kia-connect-api 3.20.5__py2.py3-none-any.whl → 3.20.6__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.
@@ -7,6 +7,8 @@ import time
7
7
  import datetime as dt
8
8
  import pytz
9
9
  import requests
10
+ import certifi
11
+
10
12
  from requests.adapters import HTTPAdapter
11
13
  from urllib3.util.ssl_ import create_urllib3_context
12
14
 
@@ -42,7 +44,7 @@ class cipherAdapter(HTTPAdapter):
42
44
 
43
45
  def init_poolmanager(self, *args, **kwargs):
44
46
  kwargs["ssl_context"] = self._setup_ssl_context()
45
-
47
+ kwargs["ca_certs"] = certifi.where()
46
48
  return super().init_poolmanager(*args, **kwargs)
47
49
 
48
50
  def proxy_manager_for(self, *args, **kwargs):
@@ -419,7 +419,7 @@ class KiaUvoAPIUSA(ApiImpl):
419
419
  vehicle.ev_charge_limits_dc = [
420
420
  x["targetSOClevel"] for x in ChargeDict if x["plugType"] == 0
421
421
  ][-1]
422
- except:
422
+ except Exception:
423
423
  _LOGGER.debug(f"{DOMAIN} - SOC Levels couldn't be found. May not be an EV.")
424
424
 
425
425
  vehicle.ev_driving_range = (
@@ -4,6 +4,7 @@
4
4
  import datetime
5
5
  import re
6
6
 
7
+
7
8
  def get_child_value(data, key):
8
9
  value = data
9
10
  for x in key.split("."):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hyundai_kia_connect_api
3
- Version: 3.20.5
3
+ Version: 3.20.6
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=Feago4yTEgen2CpAzwNnAjUpz_5STLG1G7lesGlEy6o,5955
2
2
  hyundai_kia_connect_api/ApiImplType1.py,sha256=pCFDFF1nN9eRun5zT462af5Xxu-Q0zYAUUStcoy5DJI,12037
3
- hyundai_kia_connect_api/HyundaiBlueLinkAPIUSA.py,sha256=wFdn-IzrJ4V3jwoPeysV72wlx7Rnnxu4kRkjXEY77Q0,28066
4
- hyundai_kia_connect_api/KiaUvoAPIUSA.py,sha256=GeoOi63Qttz5xsfGsyQ5vtAhcgcAVZ3HuUtmGF3bfzo,31105
3
+ hyundai_kia_connect_api/HyundaiBlueLinkAPIUSA.py,sha256=fnCL59hZBYOJ25851nDQRcNngFqhH2q3ZRxfXN_4CTo,28126
4
+ hyundai_kia_connect_api/KiaUvoAPIUSA.py,sha256=llCsBbefkfZMzu4Vz4KXk-1FDZfLTPDelAN2kxaC4hA,31115
5
5
  hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=FeK502Zysgcg3Yx31mjTh4rivFRuGB2sS07TldBzchk,48014
6
6
  hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=4gglRrGj6y4cw0ekRx0ELhIjfkPlbjmJyKUZwQbUFpU,29681
7
7
  hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=cW9YRmt5CPUTB9dHEO7B1ev8SnLjeyzuLN9o50V7JXc,46852
@@ -12,10 +12,10 @@ hyundai_kia_connect_api/VehicleManager.py,sha256=YWWr47xqrXKfGk3f4AYFc3orupuixPT
12
12
  hyundai_kia_connect_api/__init__.py,sha256=i2kXYjBEKSvT1e8FoQ7V7oqAyL22w3XzF2rAFpyietc,578
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
- hyundai_kia_connect_api/utils.py,sha256=n8ynwDwo3N_hdIBe386Q-IyuIHcxYpiqEsfnOj6Gdj0,1710
16
- hyundai_kia_connect_api-3.20.5.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
17
- hyundai_kia_connect_api-3.20.5.dist-info/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
18
- hyundai_kia_connect_api-3.20.5.dist-info/METADATA,sha256=_wsJ5SdzepoSm5PNTfe9JFQqyJCLZSgB0mjrcRL_6Ho,6045
19
- hyundai_kia_connect_api-3.20.5.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
20
- hyundai_kia_connect_api-3.20.5.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
21
- hyundai_kia_connect_api-3.20.5.dist-info/RECORD,,
15
+ hyundai_kia_connect_api/utils.py,sha256=54O8Y9Xma0SqeK2c_mqX4AJGJXQWma7POZJizFPPlvo,1711
16
+ hyundai_kia_connect_api-3.20.6.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
17
+ hyundai_kia_connect_api-3.20.6.dist-info/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
18
+ hyundai_kia_connect_api-3.20.6.dist-info/METADATA,sha256=1RAbFRc04CYcB52PuASWIWqu_NcMi0x9ZoQxNSrldf0,6045
19
+ hyundai_kia_connect_api-3.20.6.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
20
+ hyundai_kia_connect_api-3.20.6.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
21
+ hyundai_kia_connect_api-3.20.6.dist-info/RECORD,,