hyundai-kia-connect-api 3.35.3__py2.py3-none-any.whl → 3.35.5__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 +19 -9
- hyundai_kia_connect_api/Vehicle.py +4 -0
- {hyundai_kia_connect_api-3.35.3.dist-info → hyundai_kia_connect_api-3.35.5.dist-info}/METADATA +1 -1
- {hyundai_kia_connect_api-3.35.3.dist-info → hyundai_kia_connect_api-3.35.5.dist-info}/RECORD +9 -9
- {hyundai_kia_connect_api-3.35.3.dist-info → hyundai_kia_connect_api-3.35.5.dist-info}/WHEEL +0 -0
- {hyundai_kia_connect_api-3.35.3.dist-info → hyundai_kia_connect_api-3.35.5.dist-info}/entry_points.txt +0 -0
- {hyundai_kia_connect_api-3.35.3.dist-info → hyundai_kia_connect_api-3.35.5.dist-info}/licenses/AUTHORS.rst +0 -0
- {hyundai_kia_connect_api-3.35.3.dist-info → hyundai_kia_connect_api-3.35.5.dist-info}/licenses/LICENSE +0 -0
- {hyundai_kia_connect_api-3.35.3.dist-info → hyundai_kia_connect_api-3.35.5.dist-info}/top_level.txt +0 -0
@@ -187,8 +187,6 @@ class ApiImplType1(ApiImpl):
|
|
187
187
|
get_child_value(state, "Cabin.Seat.Row2.Right.Climate.State")
|
188
188
|
]
|
189
189
|
|
190
|
-
# TODO: status.doorLock
|
191
|
-
|
192
190
|
vehicle.front_left_door_is_open = get_child_value(
|
193
191
|
state, "Cabin.Door.Row1.Driver.Open"
|
194
192
|
)
|
@@ -202,12 +200,24 @@ class ApiImplType1(ApiImpl):
|
|
202
200
|
state, "Cabin.Door.Row2.Right.Open"
|
203
201
|
)
|
204
202
|
|
205
|
-
|
203
|
+
vehicle.front_left_door_is_locked = get_child_value(
|
204
|
+
state, "Cabin.Door.Row1.Driver.Open"
|
205
|
+
)
|
206
|
+
vehicle.front_right_door_is_locked = get_child_value(
|
207
|
+
state, "Cabin.Door.Row1.Passenger.Lock"
|
208
|
+
)
|
209
|
+
vehicle.back_left_door_is_locked = get_child_value(
|
210
|
+
state, "Cabin.Door.Row2.Left.Lock"
|
211
|
+
)
|
212
|
+
vehicle.back_right_door_is_locked = get_child_value(
|
213
|
+
state, "Cabin.Door.Row2.Right.Lock"
|
214
|
+
)
|
215
|
+
|
206
216
|
vehicle.is_locked = not (
|
207
|
-
vehicle.
|
208
|
-
or vehicle.
|
209
|
-
or vehicle.
|
210
|
-
or vehicle.
|
217
|
+
vehicle.front_left_door_is_locked
|
218
|
+
or vehicle.front_right_door_is_locked
|
219
|
+
or vehicle.back_left_door_is_locked
|
220
|
+
or vehicle.back_right_door_is_locked
|
211
221
|
)
|
212
222
|
|
213
223
|
vehicle.hood_is_open = get_child_value(state, "Body.Hood.Open")
|
@@ -474,11 +484,11 @@ class ApiImplType1(ApiImpl):
|
|
474
484
|
"targetSOClist": [
|
475
485
|
{
|
476
486
|
"plugType": 0,
|
477
|
-
"targetSOClevel": dc,
|
487
|
+
"targetSOClevel": int(dc),
|
478
488
|
},
|
479
489
|
{
|
480
490
|
"plugType": 1,
|
481
|
-
"targetSOClevel": ac,
|
491
|
+
"targetSOClevel": int(ac),
|
482
492
|
},
|
483
493
|
]
|
484
494
|
}
|
@@ -123,6 +123,10 @@ class Vehicle:
|
|
123
123
|
|
124
124
|
# Door Status
|
125
125
|
is_locked: bool = None
|
126
|
+
front_left_door_is_locked: bool = None
|
127
|
+
front_right_door_is_locked: bool = None
|
128
|
+
back_left_door_is_locked: bool = None
|
129
|
+
back_right_door_is_locked: bool = None
|
126
130
|
front_left_door_is_open: bool = None
|
127
131
|
front_right_door_is_open: bool = None
|
128
132
|
back_left_door_is_open: bool = None
|
{hyundai_kia_connect_api-3.35.3.dist-info → hyundai_kia_connect_api-3.35.5.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.5
|
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.3.dist-info → hyundai_kia_connect_api-3.35.5.dist-info}/RECORD
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
hyundai_kia_connect_api/ApiImpl.py,sha256=UeG2FH4KCdU5LvGp5Ks793vrWbwBx8MN_DedbVRRouM,9612
|
2
|
-
hyundai_kia_connect_api/ApiImplType1.py,sha256=
|
2
|
+
hyundai_kia_connect_api/ApiImplType1.py,sha256=IyncODmyE16gHEm8Fdd72UEFLJM8TUSvwF5UMkSLNsU,32190
|
3
3
|
hyundai_kia_connect_api/HyundaiBlueLinkApiUSA.py,sha256=FGYyrS3dSq8Plfu8DQMwVG1LM3nmRv8Y4vrN7wZ4oVY,36988
|
4
4
|
hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=nGR7jwogKrVuM6C6xLNbSDwltuy0PFR11kpGL9YykhY,39922
|
5
5
|
hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=Y2xWIYUuiilk3FXq1ZdHQ0DsFZA_8b6AIT32l595leg,32521
|
@@ -7,17 +7,17 @@ hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=WP-rRI3wZmjuLYZmPXeOSk2NNNc6UhTrpO
|
|
7
7
|
hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=E9bKbwTZ3_b6yL6ud7u_0-lQN4qRQ7nt0CyVD6KmwXM,55041
|
8
8
|
hyundai_kia_connect_api/KiaUvoApiUSA.py,sha256=bOG3ugG_O1g5cL3E_b4F2McXeZYJVzfBpqK_kaYgM9E,30550
|
9
9
|
hyundai_kia_connect_api/Token.py,sha256=ZsPvXh1ID7FUTGHAqhZUZyrKT7xVbOtIn6FRJn4Ygf0,370
|
10
|
-
hyundai_kia_connect_api/Vehicle.py,sha256=
|
10
|
+
hyundai_kia_connect_api/Vehicle.py,sha256=DPMwJ2fXpV3VxdTdX6JGXfIVX5etyH4r6cnk_Q0AlE8,19039
|
11
11
|
hyundai_kia_connect_api/VehicleManager.py,sha256=nnHsTy49bf5nRhEC9EXFnnfx6M39JSaM2TxKK9vosbY,11733
|
12
12
|
hyundai_kia_connect_api/__init__.py,sha256=IkyVeIMbcFJZgLaiiNnUVA1Ferxvrm1bXHKVg01cxvc,319
|
13
13
|
hyundai_kia_connect_api/bluelink.py,sha256=JiNIHl-Qi8zwqyN6ywKg5CdXOLT74WkvpjVcn-rYEjI,19730
|
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.5.dist-info/licenses/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
|
18
|
+
hyundai_kia_connect_api-3.35.5.dist-info/licenses/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
|
19
|
+
hyundai_kia_connect_api-3.35.5.dist-info/METADATA,sha256=QMKK_Kb4rB1MXmjdSCX_3nYbzQuzztzVMcQuyXTuWGk,7142
|
20
|
+
hyundai_kia_connect_api-3.35.5.dist-info/WHEEL,sha256=MAQBAzGbXNI3bUmkDsiV_duv8i-gcdnLzw7cfUFwqhU,109
|
21
|
+
hyundai_kia_connect_api-3.35.5.dist-info/entry_points.txt,sha256=XfrroRdyC_9q9VXjEZe5SdRPhkQyCCE4S7ZK6XSKelA,67
|
22
|
+
hyundai_kia_connect_api-3.35.5.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
|
23
|
+
hyundai_kia_connect_api-3.35.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{hyundai_kia_connect_api-3.35.3.dist-info → hyundai_kia_connect_api-3.35.5.dist-info}/top_level.txt
RENAMED
File without changes
|