hyundai-kia-connect-api 3.30.2__py2.py3-none-any.whl → 3.30.3__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.
Potentially problematic release.
This version of hyundai-kia-connect-api might be problematic. Click here for more details.
- hyundai_kia_connect_api/KiaUvoApiCA.py +26 -17
- {hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/METADATA +12 -2
- {hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/RECORD +8 -8
- {hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/WHEEL +1 -1
- {hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/AUTHORS.rst +0 -0
- {hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/LICENSE +0 -0
- {hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/entry_points.txt +0 -0
- {hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/top_level.txt +0 -0
@@ -70,6 +70,7 @@ class KiaUvoApiCA(ApiImpl):
|
|
70
70
|
def __init__(self, region: int, brand: int, language: str) -> None:
|
71
71
|
self.vehicle_timezone = self.data_timezone
|
72
72
|
self.LANGUAGE: str = language
|
73
|
+
self.brand = brand
|
73
74
|
if BRANDS[brand] == BRAND_KIA:
|
74
75
|
self.BASE_URL: str = "kiaconnect.ca"
|
75
76
|
elif BRANDS[brand] == BRAND_HYUNDAI:
|
@@ -582,25 +583,33 @@ class KiaUvoApiCA(ApiImpl):
|
|
582
583
|
)
|
583
584
|
if vehicle.engine_type == ENGINE_TYPES.EV:
|
584
585
|
payload = {
|
585
|
-
"remoteControl": {
|
586
|
-
"airCtrl": int(options.climate),
|
587
|
-
"defrost": options.defrost,
|
588
|
-
"heating1": options.heating,
|
589
|
-
"airTemp": {
|
590
|
-
"value": hex_set_temp,
|
591
|
-
"unit": 0,
|
592
|
-
"hvacTempType": 1,
|
593
|
-
},
|
594
|
-
"igniOnDuration": options.duration,
|
595
|
-
"seatHeaterVentCMD": {
|
596
|
-
"drvSeatOptCmd": options.front_left_seat,
|
597
|
-
"astSeatOptCmd": options.front_right_seat,
|
598
|
-
"rlSeatOptCmd": options.rear_left_seat,
|
599
|
-
"rrSeatOptCmd": options.rear_right_seat,
|
600
|
-
},
|
601
|
-
},
|
602
586
|
"pin": token.pin,
|
603
587
|
}
|
588
|
+
climate_settings = {
|
589
|
+
"airCtrl": int(options.climate),
|
590
|
+
"defrost": options.defrost,
|
591
|
+
"heating1": options.heating,
|
592
|
+
"airTemp": {
|
593
|
+
"value": hex_set_temp,
|
594
|
+
"unit": 0,
|
595
|
+
"hvacTempType": 1,
|
596
|
+
},
|
597
|
+
}
|
598
|
+
if BRANDS[self.brand] == BRAND_KIA:
|
599
|
+
payload["remoteControl"] = climate_settings
|
600
|
+
payload["remoteControl"].update(
|
601
|
+
{
|
602
|
+
"igniOnDuration": options.duration,
|
603
|
+
"seatHeaterVentCMD": {
|
604
|
+
"drvSeatOptCmd": options.front_left_seat,
|
605
|
+
"astSeatOptCmd": options.front_right_seat,
|
606
|
+
"rlSeatOptCmd": options.rear_left_seat,
|
607
|
+
"rrSeatOptCmd": options.rear_right_seat,
|
608
|
+
},
|
609
|
+
}
|
610
|
+
)
|
611
|
+
else:
|
612
|
+
payload["hvacInfo"] = climate_settings
|
604
613
|
else:
|
605
614
|
payload = {
|
606
615
|
"setting": {
|
{hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: hyundai_kia_connect_api
|
3
|
-
Version: 3.30.
|
3
|
+
Version: 3.30.3
|
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
|
@@ -20,6 +20,16 @@ Requires-Dist: curlify>=2.2.1
|
|
20
20
|
Requires-Dist: python-dateutil
|
21
21
|
Requires-Dist: pytz>=2021.3
|
22
22
|
Requires-Dist: certifi>=2024.6.2
|
23
|
+
Dynamic: author
|
24
|
+
Dynamic: author-email
|
25
|
+
Dynamic: classifier
|
26
|
+
Dynamic: description
|
27
|
+
Dynamic: home-page
|
28
|
+
Dynamic: keywords
|
29
|
+
Dynamic: license
|
30
|
+
Dynamic: requires-dist
|
31
|
+
Dynamic: requires-python
|
32
|
+
Dynamic: summary
|
23
33
|
|
24
34
|
Code Maintainers Wanted
|
25
35
|
=======================
|
{hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/RECORD
RENAMED
@@ -2,7 +2,7 @@ hyundai_kia_connect_api/ApiImpl.py,sha256=9DoAtk8-pE0WaLzRTM7uydkUoxS_Almcooeonp
|
|
2
2
|
hyundai_kia_connect_api/ApiImplType1.py,sha256=PnKwpbCoYGOXBWzBLIlDSrC6daIYeW9qlfW7TM4HCU0,12184
|
3
3
|
hyundai_kia_connect_api/HyundaiBlueLinkApiUSA.py,sha256=Tx-L4ZWiPhq-uHcjWSUzjLEsfunV6nzyzqQpjPTYuIo,36831
|
4
4
|
hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=tslh0gzvPBwYJmcWlf9B0l7PyYZdy2e7GqpRkl8_Svk,48471
|
5
|
-
hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=
|
5
|
+
hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=QXs7Gk3uvv1719B8E-Gqe1H0hBh_jQflBJtPZZxvz2g,31460
|
6
6
|
hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=cwIPZ0dU6HolKdooUQeQKlLAic6YU8dQmNs0VQDBgpQ,47035
|
7
7
|
hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=wNHMuyANzunMzp6DtjJmA1k4DbkXcHvebA-bS107ueA,70416
|
8
8
|
hyundai_kia_connect_api/KiaUvoApiUSA.py,sha256=gwGUcyJB82fM-tnUqistw4upvzMFnWew9JMY_V88bkQ,30480
|
@@ -14,10 +14,10 @@ hyundai_kia_connect_api/bluelink.py,sha256=sBU7hlElie21GU4Ma-i4a5vdztGc2jtmlVBbb
|
|
14
14
|
hyundai_kia_connect_api/const.py,sha256=HE0_1_be4ERB73vsekWxv6TDWd8cvAgY1oPZojUrcwM,2096
|
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.30.
|
18
|
-
hyundai_kia_connect_api-3.30.
|
19
|
-
hyundai_kia_connect_api-3.30.
|
20
|
-
hyundai_kia_connect_api-3.30.
|
21
|
-
hyundai_kia_connect_api-3.30.
|
22
|
-
hyundai_kia_connect_api-3.30.
|
23
|
-
hyundai_kia_connect_api-3.30.
|
17
|
+
hyundai_kia_connect_api-3.30.3.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
|
18
|
+
hyundai_kia_connect_api-3.30.3.dist-info/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
|
19
|
+
hyundai_kia_connect_api-3.30.3.dist-info/METADATA,sha256=HqHzH99JlSrf3T0ytokyo_wKRPFSaRfdhX0dpP7Rz6c,6872
|
20
|
+
hyundai_kia_connect_api-3.30.3.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
|
21
|
+
hyundai_kia_connect_api-3.30.3.dist-info/entry_points.txt,sha256=XfrroRdyC_9q9VXjEZe5SdRPhkQyCCE4S7ZK6XSKelA,67
|
22
|
+
hyundai_kia_connect_api-3.30.3.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
|
23
|
+
hyundai_kia_connect_api-3.30.3.dist-info/RECORD,,
|
{hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/AUTHORS.rst
RENAMED
File without changes
|
{hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|
{hyundai_kia_connect_api-3.30.2.dist-info → hyundai_kia_connect_api-3.30.3.dist-info}/top_level.txt
RENAMED
File without changes
|