hyundai-kia-connect-api 3.35.10__py2.py3-none-any.whl → 3.35.12__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.
- hyundai_kia_connect_api/ApiImplType1.py +5 -5
- hyundai_kia_connect_api/HyundaiBlueLinkApiUSA.py +0 -4
- hyundai_kia_connect_api/KiaUvoApiAU.py +0 -1
- hyundai_kia_connect_api/KiaUvoApiCA.py +0 -1
- {hyundai_kia_connect_api-3.35.10.dist-info → hyundai_kia_connect_api-3.35.12.dist-info}/METADATA +1 -1
- {hyundai_kia_connect_api-3.35.10.dist-info → hyundai_kia_connect_api-3.35.12.dist-info}/RECORD +11 -11
- {hyundai_kia_connect_api-3.35.10.dist-info → hyundai_kia_connect_api-3.35.12.dist-info}/WHEEL +0 -0
- {hyundai_kia_connect_api-3.35.10.dist-info → hyundai_kia_connect_api-3.35.12.dist-info}/entry_points.txt +0 -0
- {hyundai_kia_connect_api-3.35.10.dist-info → hyundai_kia_connect_api-3.35.12.dist-info}/licenses/AUTHORS.rst +0 -0
- {hyundai_kia_connect_api-3.35.10.dist-info → hyundai_kia_connect_api-3.35.12.dist-info}/licenses/LICENSE +0 -0
- {hyundai_kia_connect_api-3.35.10.dist-info → hyundai_kia_connect_api-3.35.12.dist-info}/top_level.txt +0 -0
@@ -201,22 +201,22 @@ class ApiImplType1(ApiImpl):
|
|
201
201
|
)
|
202
202
|
|
203
203
|
vehicle.front_left_door_is_locked = (
|
204
|
-
bool(get_child_value(state, "Cabin.Door.Row1.Driver.Lock"))
|
204
|
+
not bool(get_child_value(state, "Cabin.Door.Row1.Driver.Lock"))
|
205
205
|
if get_child_value(state, "Cabin.Door.Row1.Driver.Lock") is not None
|
206
206
|
else None
|
207
207
|
)
|
208
208
|
vehicle.front_right_door_is_locked = (
|
209
|
-
bool(get_child_value(state, "Cabin.Door.Row1.Passenger.Lock"))
|
209
|
+
not bool(get_child_value(state, "Cabin.Door.Row1.Passenger.Lock"))
|
210
210
|
if get_child_value(state, "Cabin.Door.Row1.Passenger.Lock") is not None
|
211
211
|
else None
|
212
212
|
)
|
213
213
|
vehicle.back_left_door_is_locked = (
|
214
|
-
bool(get_child_value(state, "Cabin.Door.Row2.Left.Lock"))
|
214
|
+
not bool(get_child_value(state, "Cabin.Door.Row2.Left.Lock"))
|
215
215
|
if get_child_value(state, "Cabin.Door.Row2.Left.Lock") is not None
|
216
216
|
else None
|
217
217
|
)
|
218
218
|
vehicle.back_right_door_is_locked = (
|
219
|
-
bool(get_child_value(state, "Cabin.Door.Row2.Right.Lock"))
|
219
|
+
not bool(get_child_value(state, "Cabin.Door.Row2.Right.Lock"))
|
220
220
|
if get_child_value(state, "Cabin.Door.Row2.Right.Lock") is not None
|
221
221
|
else None
|
222
222
|
)
|
@@ -335,7 +335,7 @@ class ApiImplType1(ApiImpl):
|
|
335
335
|
state, "Green.ChargingInformation.ElectricCurrentLevel.State"
|
336
336
|
)
|
337
337
|
vehicle.ev_v2l_discharge_limit = get_child_value(
|
338
|
-
state, "Green.
|
338
|
+
state, "Green.Electric.SmartGrid.VehicleToLoad.DischargeLimitation.SoC"
|
339
339
|
)
|
340
340
|
vehicle.ev_target_range_charge_AC = (
|
341
341
|
get_child_value(
|
@@ -167,8 +167,6 @@ class HyundaiBlueLinkApiUSA(ApiImpl):
|
|
167
167
|
if refresh:
|
168
168
|
headers["REFRESH"] = "true"
|
169
169
|
|
170
|
-
_LOGGER.debug(f"{DOMAIN} - using API headers: {headers}")
|
171
|
-
|
172
170
|
response = self.sessions.get(url, headers=headers)
|
173
171
|
response = response.json()
|
174
172
|
_LOGGER.debug(f"{DOMAIN} - get_vehicle_status response {response}")
|
@@ -195,8 +193,6 @@ class HyundaiBlueLinkApiUSA(ApiImpl):
|
|
195
193
|
# This header is sent by the MyHyundai app, but doesn't seem to do anything
|
196
194
|
# headers["offset"] = "-5"
|
197
195
|
|
198
|
-
_LOGGER.debug(f"{DOMAIN} - using API headers: {headers}")
|
199
|
-
|
200
196
|
response = self.sessions.get(url, headers=headers)
|
201
197
|
response = response.json()
|
202
198
|
_LOGGER.debug(f"{DOMAIN} - get_ev_trip_details response {response}")
|
@@ -928,7 +928,6 @@ class KiaUvoApiAU(ApiImplType1):
|
|
928
928
|
response = requests.post(
|
929
929
|
url, json=data, headers=headers, cookies=cookies
|
930
930
|
).json()
|
931
|
-
_LOGGER.debug(f"{DOMAIN} - Sign In Response: {response}")
|
932
931
|
parsed_url = urlparse(response["redirectUrl"])
|
933
932
|
authorization_code = "".join(parse_qs(parsed_url.query)["code"])
|
934
933
|
return authorization_code
|
@@ -720,7 +720,6 @@ class KiaUvoApiCA(ApiImpl):
|
|
720
720
|
headers["accessToken"] = token.access_token
|
721
721
|
headers["vehicleId"] = vehicle.id
|
722
722
|
headers["pAuth"] = self._get_pin_token(token, vehicle)
|
723
|
-
_LOGGER.debug(f"{DOMAIN} - Planned start_charge headers {headers}")
|
724
723
|
data = json.dumps({"pin": token.pin})
|
725
724
|
_LOGGER.debug(f"{DOMAIN} - Planned start_charge payload {data}")
|
726
725
|
response = self.sessions.post(
|
{hyundai_kia_connect_api-3.35.10.dist-info → hyundai_kia_connect_api-3.35.12.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: hyundai_kia_connect_api
|
3
|
-
Version: 3.35.
|
3
|
+
Version: 3.35.12
|
4
4
|
Summary: Python Boilerplate contains all the boilerplate you need to create a Python package.
|
5
5
|
Home-page: https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api
|
6
6
|
Author: Fuat Akgun
|
{hyundai_kia_connect_api-3.35.10.dist-info → hyundai_kia_connect_api-3.35.12.dist-info}/RECORD
RENAMED
@@ -1,8 +1,8 @@
|
|
1
1
|
hyundai_kia_connect_api/ApiImpl.py,sha256=UeG2FH4KCdU5LvGp5Ks793vrWbwBx8MN_DedbVRRouM,9612
|
2
|
-
hyundai_kia_connect_api/ApiImplType1.py,sha256=
|
3
|
-
hyundai_kia_connect_api/HyundaiBlueLinkApiUSA.py,sha256=
|
4
|
-
hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=
|
5
|
-
hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=
|
2
|
+
hyundai_kia_connect_api/ApiImplType1.py,sha256=_8ZcDP5HGWzfCAy4EScFguGZaiwCtKolXolZE3_q_7M,32649
|
3
|
+
hyundai_kia_connect_api/HyundaiBlueLinkApiUSA.py,sha256=TNuFJIZ6Kpd5vbV5rVJjcqp7z-Ys3blzsz6YYWZThiA,36710
|
4
|
+
hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=sYzdMWuKI2jPE7NmYyT45A4YTH8-yGYdJm0QpPDWnTc,39490
|
5
|
+
hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=vP1WTSficCPSd3XrFh_FQZL2irJQbCYFVKm4OF2bWd8,32301
|
6
6
|
hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=WP-rRI3wZmjuLYZmPXeOSk2NNNc6UhTrpOMuYMG6-iE,47043
|
7
7
|
hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=QhchbdcXZuVYHJVcFOUE78C6yK_y0Bwj67sVNPdrLGs,54675
|
8
8
|
hyundai_kia_connect_api/KiaUvoApiUSA.py,sha256=DeA-a2qq78XPYGB8U4vzy2oAcCQJ1xJRN9tlAK_I94o,30404
|
@@ -14,10 +14,10 @@ hyundai_kia_connect_api/bluelink.py,sha256=JiNIHl-Qi8zwqyN6ywKg5CdXOLT74WkvpjVcn
|
|
14
14
|
hyundai_kia_connect_api/const.py,sha256=gFAhj9-YgrJNd7ZjYr4Qu1Yf4v-RhmyON1MJDN0eR90,2281
|
15
15
|
hyundai_kia_connect_api/exceptions.py,sha256=m7gyDnvA5OVAK4EXSP_ZwE0s0uV8HsGUV0tiYwqofK0,1343
|
16
16
|
hyundai_kia_connect_api/utils.py,sha256=J0aXUX-nKIoS3XbelatNh-DZlHRU2_DYz_Mg_ZUKQJU,1957
|
17
|
-
hyundai_kia_connect_api-3.35.
|
18
|
-
hyundai_kia_connect_api-3.35.
|
19
|
-
hyundai_kia_connect_api-3.35.
|
20
|
-
hyundai_kia_connect_api-3.35.
|
21
|
-
hyundai_kia_connect_api-3.35.
|
22
|
-
hyundai_kia_connect_api-3.35.
|
23
|
-
hyundai_kia_connect_api-3.35.
|
17
|
+
hyundai_kia_connect_api-3.35.12.dist-info/licenses/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
|
18
|
+
hyundai_kia_connect_api-3.35.12.dist-info/licenses/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
|
19
|
+
hyundai_kia_connect_api-3.35.12.dist-info/METADATA,sha256=MeISJgmn4pCA1nzg_ujTeEYRgGDXJFTuTUgiWvzsA2o,7143
|
20
|
+
hyundai_kia_connect_api-3.35.12.dist-info/WHEEL,sha256=MAQBAzGbXNI3bUmkDsiV_duv8i-gcdnLzw7cfUFwqhU,109
|
21
|
+
hyundai_kia_connect_api-3.35.12.dist-info/entry_points.txt,sha256=XfrroRdyC_9q9VXjEZe5SdRPhkQyCCE4S7ZK6XSKelA,67
|
22
|
+
hyundai_kia_connect_api-3.35.12.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
|
23
|
+
hyundai_kia_connect_api-3.35.12.dist-info/RECORD,,
|
{hyundai_kia_connect_api-3.35.10.dist-info → hyundai_kia_connect_api-3.35.12.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|