hyundai-kia-connect-api 3.40.5__py2.py3-none-any.whl → 3.41.0__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.
@@ -292,6 +292,7 @@ class ApiImplType1(ApiImpl):
292
292
  vehicle.back_right_window_is_open = get_child_value(
293
293
  state, "Cabin.Window.Row2.Right.Open"
294
294
  )
295
+ vehicle.sunroof_is_open = get_child_value(state, "Body.Sunroof.Glass.Open")
295
296
  vehicle.tire_pressure_rear_left_warning_is_on = bool(
296
297
  get_child_value(state, "Chassis.Axle.Row2.Left.Tire.PressureLow")
297
298
  )
@@ -952,6 +953,7 @@ class ApiImplType1(ApiImpl):
952
953
  ).json()
953
954
  _LOGGER.debug(f"{DOMAIN} - Window State Action Response: {response}")
954
955
  _check_response_for_errors(response)
956
+ token.device_id = self._get_device_id(self._get_stamp())
955
957
  return response["msgId"]
956
958
 
957
959
  def _get_control_token(self, token: Token) -> Token:
@@ -211,6 +211,10 @@ class KiaUvoApiEU(ApiImplType1):
211
211
  def update_vehicle_with_cached_state(self, token: Token, vehicle: Vehicle) -> None:
212
212
  url = self.SPA_API_URL + "vehicles/" + vehicle.id
213
213
  is_ccs2 = vehicle.ccu_ccs2_protocol_support != 0
214
+ _LOGGER.debug(
215
+ f"{DOMAIN} - CCU CCS Support: {vehicle.ccu_ccs2_protocol_support}"
216
+ )
217
+
214
218
  if is_ccs2:
215
219
  url += "/ccs2/carstatus/latest"
216
220
  else:
@@ -139,6 +139,7 @@ class Vehicle:
139
139
  front_right_window_is_open: bool = None
140
140
  back_left_window_is_open: bool = None
141
141
  back_right_window_is_open: bool = None
142
+ sunroof_is_open: bool = None
142
143
 
143
144
  # Tire Pressure
144
145
  tire_pressure_all_warning_is_on: bool = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyundai_kia_connect_api
3
- Version: 3.40.5
3
+ Version: 3.41.0
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
@@ -35,6 +35,7 @@ Dynamic: summary
35
35
 
36
36
  Code Maintainers Wanted
37
37
  =======================
38
+
38
39
  I no longer have a Kia or Hyundai so don't maintain this like I used to. Others who are interested in jumping in are welcome to join the project! Even just pull requests are appreciated!
39
40
 
40
41
  Introduction
@@ -1,24 +1,24 @@
1
1
  hyundai_kia_connect_api/ApiImpl.py,sha256=UeG2FH4KCdU5LvGp5Ks793vrWbwBx8MN_DedbVRRouM,9612
2
- hyundai_kia_connect_api/ApiImplType1.py,sha256=i6ih6tBclPHfA00jQvUPG3tBwy9AY4oiGdaO-jCOZ6A,38328
2
+ hyundai_kia_connect_api/ApiImplType1.py,sha256=BUG9WuW8VhoAviVygDxf-8X7AYSTxa6XpoZj7OkNcP4,38477
3
3
  hyundai_kia_connect_api/HyundaiBlueLinkApiUSA.py,sha256=dg4r6cI38bFuX-vcI76N0kByKVUNZUlSZ8Jp_68xnAM,37079
4
4
  hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=433Db-rp3drhyY8ZvN-GiVP85pl90Wwu4A2uAdkYH1c,36100
5
5
  hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=eGg9yK8Am4zCVpyC9I3AnnbgTL7QbOigm0ttfWZ5K4w,34532
6
6
  hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=WP-rRI3wZmjuLYZmPXeOSk2NNNc6UhTrpOMuYMG6-iE,47043
7
- hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=ZV3yWd4W-zyN-xS6o_ItQtedLAkEvk5C_yTHGvT2qqU,50172
7
+ hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=E9-teu7OVjLu-hGT3B8aGBfrKDTwFmei7uLt09LJZtE,50285
8
8
  hyundai_kia_connect_api/KiaUvoApiIN.py,sha256=q17gaDhp38wJwn1ceTou1QcDiuDW2wGGjOFTMDRROl8,36318
9
9
  hyundai_kia_connect_api/KiaUvoApiUSA.py,sha256=vwY5wsy68phV_eRTlwI1Q_fL2XY9y4aKxawwWwU_94c,31416
10
10
  hyundai_kia_connect_api/Token.py,sha256=ZsPvXh1ID7FUTGHAqhZUZyrKT7xVbOtIn6FRJn4Ygf0,370
11
- hyundai_kia_connect_api/Vehicle.py,sha256=DPMwJ2fXpV3VxdTdX6JGXfIVX5etyH4r6cnk_Q0AlE8,19039
11
+ hyundai_kia_connect_api/Vehicle.py,sha256=Ypls2anSsyIWK_Le3xCBMTJfNYJLqrMghTKIQTWqLTQ,19072
12
12
  hyundai_kia_connect_api/VehicleManager.py,sha256=BbMeM5HU38nimNTN4QsSFuEcsbeUYCcFdC7-MCU52AY,12183
13
13
  hyundai_kia_connect_api/__init__.py,sha256=IkyVeIMbcFJZgLaiiNnUVA1Ferxvrm1bXHKVg01cxvc,319
14
14
  hyundai_kia_connect_api/bluelink.py,sha256=JiNIHl-Qi8zwqyN6ywKg5CdXOLT74WkvpjVcn-rYEjI,19730
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=J0aXUX-nKIoS3XbelatNh-DZlHRU2_DYz_Mg_ZUKQJU,1957
18
- hyundai_kia_connect_api-3.40.5.dist-info/licenses/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
19
- hyundai_kia_connect_api-3.40.5.dist-info/licenses/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
20
- hyundai_kia_connect_api-3.40.5.dist-info/METADATA,sha256=Hc5Adk8Qn4b1rBLooaxJCeLhtgbcNvZqScUISe0CX6M,7156
21
- hyundai_kia_connect_api-3.40.5.dist-info/WHEEL,sha256=EJquVHAj64cglIJ9ayRTVz7VqL48CUivB2d_zEHhV7Q,109
22
- hyundai_kia_connect_api-3.40.5.dist-info/entry_points.txt,sha256=XfrroRdyC_9q9VXjEZe5SdRPhkQyCCE4S7ZK6XSKelA,67
23
- hyundai_kia_connect_api-3.40.5.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
24
- hyundai_kia_connect_api-3.40.5.dist-info/RECORD,,
18
+ hyundai_kia_connect_api-3.41.0.dist-info/licenses/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
19
+ hyundai_kia_connect_api-3.41.0.dist-info/licenses/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
20
+ hyundai_kia_connect_api-3.41.0.dist-info/METADATA,sha256=wtthnJjqMa1gfUutgVYRit77Ugf0aP1zDmHRJfY4dzU,7157
21
+ hyundai_kia_connect_api-3.41.0.dist-info/WHEEL,sha256=KsLc7-ImW3kO10_MVVAJ6KE49o7_KqpEzIMxFX-6COY,109
22
+ hyundai_kia_connect_api-3.41.0.dist-info/entry_points.txt,sha256=XfrroRdyC_9q9VXjEZe5SdRPhkQyCCE4S7ZK6XSKelA,67
23
+ hyundai_kia_connect_api-3.41.0.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
24
+ hyundai_kia_connect_api-3.41.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.2.0)
2
+ Generator: setuptools (80.3.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any