hyundai-kia-connect-api 3.42.1__py2.py3-none-any.whl → 3.42.2__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.
@@ -811,17 +811,19 @@ class HyundaiBlueLinkApiUSA(ApiImpl):
811
811
  if vehicle.engine_type == ENGINE_TYPES.EV:
812
812
  data = {
813
813
  "airCtrl": int(options.climate),
814
- "igniOnDuration": options.duration,
815
814
  "airTemp": {"value": str(options.set_temp), "unit": 1},
816
815
  "defrost": options.defrost,
817
816
  "heating1": int(options.heating),
818
- "seatHeaterVentInfo": {
817
+ }
818
+ # Older vehicles do not support seat heater vent info or duration
819
+ if vehicle.generation == 3:
820
+ data["igniOnDuration"] = options.duration
821
+ data["seatHeaterVentInfo"] = {
819
822
  "drvSeatHeatState": options.front_left_seat,
820
823
  "astSeatHeatState": options.front_right_seat,
821
824
  "rlSeatHeatState": options.rear_left_seat,
822
825
  "rrSeatHeatState": options.rear_right_seat,
823
- },
824
- }
826
+ }
825
827
  else:
826
828
  data = {
827
829
  "Ims": 0,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyundai_kia_connect_api
3
- Version: 3.42.1
3
+ Version: 3.42.2
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
@@ -1,6 +1,6 @@
1
1
  hyundai_kia_connect_api/ApiImpl.py,sha256=UeG2FH4KCdU5LvGp5Ks793vrWbwBx8MN_DedbVRRouM,9612
2
2
  hyundai_kia_connect_api/ApiImplType1.py,sha256=8o0Sx0uYOaVyOR6boL2-rWHeu5o4j_n8ZHhEnP8Y2sc,38606
3
- hyundai_kia_connect_api/HyundaiBlueLinkApiUSA.py,sha256=dg4r6cI38bFuX-vcI76N0kByKVUNZUlSZ8Jp_68xnAM,37079
3
+ hyundai_kia_connect_api/HyundaiBlueLinkApiUSA.py,sha256=8S57iex0zecJOqKPg9xA6pGMVvGlybn9vcxLIAxbycY,37209
4
4
  hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=433Db-rp3drhyY8ZvN-GiVP85pl90Wwu4A2uAdkYH1c,36100
5
5
  hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=OvnyBdwkj9fFYGp2dqNSXVO8W6b7bhPcEg7zbKOSzF0,34584
6
6
  hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=WP-rRI3wZmjuLYZmPXeOSk2NNNc6UhTrpOMuYMG6-iE,47043
@@ -15,10 +15,10 @@ hyundai_kia_connect_api/bluelink.py,sha256=JiNIHl-Qi8zwqyN6ywKg5CdXOLT74WkvpjVcn
15
15
  hyundai_kia_connect_api/const.py,sha256=ImISRt4QarbN8BOBlDGYRB3F69NKCcGu8ddFvNPhhXU,2370
16
16
  hyundai_kia_connect_api/exceptions.py,sha256=0dwKEPXN8KQVTeueDj2fL3E-TQMU7LjTEJbhcq8Mjx8,1467
17
17
  hyundai_kia_connect_api/utils.py,sha256=k-zSgLdMMLu_h4GJNDRtjbfgZyla_Qhd13pDrtUAu4M,2700
18
- hyundai_kia_connect_api-3.42.1.dist-info/licenses/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
19
- hyundai_kia_connect_api-3.42.1.dist-info/licenses/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
20
- hyundai_kia_connect_api-3.42.1.dist-info/METADATA,sha256=Fx0rkpwSdd0dCX5eyefad_DPB2FfXkKt9WMfS8ikpWU,7193
21
- hyundai_kia_connect_api-3.42.1.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
22
- hyundai_kia_connect_api-3.42.1.dist-info/entry_points.txt,sha256=XfrroRdyC_9q9VXjEZe5SdRPhkQyCCE4S7ZK6XSKelA,67
23
- hyundai_kia_connect_api-3.42.1.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
24
- hyundai_kia_connect_api-3.42.1.dist-info/RECORD,,
18
+ hyundai_kia_connect_api-3.42.2.dist-info/licenses/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
19
+ hyundai_kia_connect_api-3.42.2.dist-info/licenses/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
20
+ hyundai_kia_connect_api-3.42.2.dist-info/METADATA,sha256=bUg0ID7OjGpVZZbGRT5WJEAhZpW3BrQapt5tHC7Sp-k,7193
21
+ hyundai_kia_connect_api-3.42.2.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
22
+ hyundai_kia_connect_api-3.42.2.dist-info/entry_points.txt,sha256=XfrroRdyC_9q9VXjEZe5SdRPhkQyCCE4S7ZK6XSKelA,67
23
+ hyundai_kia_connect_api-3.42.2.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
24
+ hyundai_kia_connect_api-3.42.2.dist-info/RECORD,,