Skip to content

Commit

Permalink
fix: kia usa climate start (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
whinis committed Jun 4, 2024
1 parent c151736 commit a513183
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions hyundai_kia_connect_api/KiaUvoAPIUSA.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,44 +677,44 @@ def start_climate(

body = {
"remoteClimate": {
"airCtrl": options.climate,
"airTemp": {
"unit": 1,
"value": str(options.set_temp),
},
"defrost": options.defrost,
"heatingAccessory": {
"rearWindow": int(options.heating),
"sideMirror": int(options.heating),
"steeringWheel": int(options.heating),
},
"airCtrl": options.climate,
"defrost": options.defrost,
"heatingAccessory": {
"rearWindow": int(options.heating),
"sideMirror": int(options.heating),
"steeringWheel": int(options.heating),
},
"ignitionOnDuration": {
"unit": 4,
"value": options.duration,
},
"heatVentSeat": {
"driverSeat": {
"heatVentType": front_left_heatVentType,
"heatVentLevel": front_left_heatVentLevel,
"heatVentStep": 1,
},
"ignitionOnDuration": {
"unit": 4,
"value": options.duration,
"passengerSeat": {
"heatVentType": front_right_heatVentType,
"heatVentLevel": front_right_heatVentLevel,
"heatVentStep": 1,
},
"heatVentSeat": {
"driverSeat": {
"heatVentType": front_left_heatVentType,
"heatVentLevel": front_left_heatVentLevel,
"heatVentStep": 1,
},
"passengerSeat": {
"heatVentType": front_right_heatVentType,
"heatVentLevel": front_right_heatVentLevel,
"heatVentStep": 1,
},
"rearLeftSeat": {
"heatVentType": rear_left_heatVentType,
"heatVentLevel": rear_left_heatVentLevel,
"heatVentStep": 1,
},
"rearRightSeat": {
"heatVentType": rear_right_heatVentType,
"heatVentLevel": rear_right_heatVentLevel,
"heatVentStep": 1,
},
"rearLeftSeat": {
"heatVentType": rear_left_heatVentType,
"heatVentLevel": rear_left_heatVentLevel,
"heatVentStep": 1,
},
}
"rearRightSeat": {
"heatVentType": rear_right_heatVentType,
"heatVentLevel": rear_right_heatVentLevel,
"heatVentStep": 1,
},
},
}
_LOGGER.debug(f"{DOMAIN} - Planned start_climate payload: {body}")
response = self.post_request_with_logging_and_active_session(
Expand Down

0 comments on commit a513183

Please sign in to comment.