hyundai-kia-connect-api 3.22.3__tar.gz → 3.22.6__tar.gz
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.
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/PKG-INFO +1 -3
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/README.rst +0 -2
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/ApiImpl.py +13 -6
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api.egg-info/PKG-INFO +1 -3
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/setup.py +1 -1
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/AUTHORS.rst +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/CONTRIBUTING.rst +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/HISTORY.rst +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/LICENSE +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/MANIFEST.in +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/docs/Makefile +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/docs/authors.rst +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/docs/conf.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/docs/contributing.rst +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/docs/history.rst +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/docs/index.rst +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/docs/installation.rst +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/docs/make.bat +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/docs/readme.rst +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/docs/usage.rst +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/ApiImplType1.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/HyundaiBlueLinkAPIUSA.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/KiaUvoAPIUSA.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/KiaUvoApiAU.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/KiaUvoApiCA.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/KiaUvoApiCN.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/KiaUvoApiEU.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/Token.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/Vehicle.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/VehicleManager.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/__init__.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/const.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/exceptions.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/utils.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api.egg-info/SOURCES.txt +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api.egg-info/dependency_links.txt +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api.egg-info/not-zip-safe +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api.egg-info/requires.txt +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api.egg-info/top_level.txt +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/requirements.txt +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/setup.cfg +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/tests/__init__.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/tests/au_login_test.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/tests/ca_login_test.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/tests/eu_check_response_for_errors_test.py +0 -0
- {hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/tests/eu_login_test.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: hyundai_kia_connect_api
|
3
|
-
Version: 3.22.
|
3
|
+
Version: 3.22.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
|
@@ -31,7 +31,6 @@ Introduction
|
|
31
31
|
|
32
32
|
This is a Kia UVO, Hyundai Bluelink, Genesis Connect(Canada Only) written in python. It is primary consumed by home assistant. If you are looking for a home assistant Kia / Hyundai implementation please look here: https://github.com/fuatakgun/kia_uvo. Much of this base code came from reading bluelinky and contributions to the kia_uvo home assistant project.
|
33
33
|
|
34
|
-
|
35
34
|
Usage
|
36
35
|
=====
|
37
36
|
|
@@ -73,7 +72,6 @@ Once this is done you can now make the following calls against the vehicle manag
|
|
73
72
|
Force refreshes a single car:
|
74
73
|
force_refresh_vehicles_states(self, vehicle_id)
|
75
74
|
|
76
|
-
|
77
75
|
An example call would be::
|
78
76
|
|
79
77
|
from hyundai_kia_connect_api import *
|
@@ -8,7 +8,6 @@ Introduction
|
|
8
8
|
|
9
9
|
This is a Kia UVO, Hyundai Bluelink, Genesis Connect(Canada Only) written in python. It is primary consumed by home assistant. If you are looking for a home assistant Kia / Hyundai implementation please look here: https://github.com/fuatakgun/kia_uvo. Much of this base code came from reading bluelinky and contributions to the kia_uvo home assistant project.
|
10
10
|
|
11
|
-
|
12
11
|
Usage
|
13
12
|
=====
|
14
13
|
|
@@ -50,7 +49,6 @@ Once this is done you can now make the following calls against the vehicle manag
|
|
50
49
|
Force refreshes a single car:
|
51
50
|
force_refresh_vehicles_states(self, vehicle_id)
|
52
51
|
|
53
|
-
|
54
52
|
An example call would be::
|
55
53
|
|
56
54
|
from hyundai_kia_connect_api import *
|
{hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/ApiImpl.py
RENAMED
@@ -8,6 +8,7 @@ from dataclasses import dataclass
|
|
8
8
|
|
9
9
|
import requests
|
10
10
|
|
11
|
+
|
11
12
|
from .Token import Token
|
12
13
|
from .Vehicle import Vehicle
|
13
14
|
from .const import WINDOW_STATE, CHARGE_PORT_ACTION, OrderStatus, DOMAIN
|
@@ -115,12 +116,18 @@ class ApiImpl:
|
|
115
116
|
f"{DOMAIN} - Running update geocode location with value: {url}"
|
116
117
|
)
|
117
118
|
response = requests.get(url)
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
119
|
+
_LOGGER.debug(f"{DOMAIN} - geocode location raw response: {response}")
|
120
|
+
try:
|
121
|
+
response = response.json()
|
122
|
+
except requests.RequestsJSONDecodeError:
|
123
|
+
_LOGGER.debug(f"{DOMAIN} - failed to decode json for geocode location")
|
124
|
+
vehicle.geocode = None
|
125
|
+
else:
|
126
|
+
_LOGGER.debug(f"{DOMAIN} - geocode location json response: {response}")
|
127
|
+
vehicle.geocode = (
|
128
|
+
get_child_value(response, "display_name"),
|
129
|
+
get_child_value(response, "address"),
|
130
|
+
)
|
124
131
|
|
125
132
|
def lock_action(self, token: Token, vehicle: Vehicle, action: str) -> str:
|
126
133
|
"""Lock or unlocks a vehicle. Returns the tracking ID"""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: hyundai_kia_connect_api
|
3
|
-
Version: 3.22.
|
3
|
+
Version: 3.22.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
|
@@ -31,7 +31,6 @@ Introduction
|
|
31
31
|
|
32
32
|
This is a Kia UVO, Hyundai Bluelink, Genesis Connect(Canada Only) written in python. It is primary consumed by home assistant. If you are looking for a home assistant Kia / Hyundai implementation please look here: https://github.com/fuatakgun/kia_uvo. Much of this base code came from reading bluelinky and contributions to the kia_uvo home assistant project.
|
33
33
|
|
34
|
-
|
35
34
|
Usage
|
36
35
|
=====
|
37
36
|
|
@@ -73,7 +72,6 @@ Once this is done you can now make the following calls against the vehicle manag
|
|
73
72
|
Force refreshes a single car:
|
74
73
|
force_refresh_vehicles_states(self, vehicle_id)
|
75
74
|
|
76
|
-
|
77
75
|
An example call would be::
|
78
76
|
|
79
77
|
from hyundai_kia_connect_api import *
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/Token.py
RENAMED
File without changes
|
{hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/Vehicle.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/const.py
RENAMED
File without changes
|
File without changes
|
{hyundai_kia_connect_api-3.22.3 → hyundai_kia_connect_api-3.22.6}/hyundai_kia_connect_api/utils.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|