Skip to content

Commit

Permalink
fix: Corrected remote start types (Hyundai-Kia-Connect#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdnninja authored Nov 9, 2021
1 parent fe5b721 commit 6ccbeb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/kia_uvo/Vehicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ async def start_climate(self, set_temp, duration, defrost, climate, heating):
heating = False
if(self.engine_type == VEHICLE_ENGINE_TYPE.EV and self.region == REGION_CANADA):
await self.hass.async_add_executor_job(
self.kia_uvo_api.start_climate, self.token, set_temp, duration, defrost, climate, heating
self.kia_uvo_api.start_climate_ev, self.token, set_temp, duration, defrost, climate, heating
)
else:
await self.hass.async_add_executor_job(
self.kia_uvo_api.start_climate_ev, self.token, set_temp, duration, defrost, climate, heating
self.kia_uvo_api.start_climate, self.token, set_temp, duration, defrost, climate, heating
)
self.force_update_try_count = 0
self.force_update_try_caller = async_call_later(
Expand Down

0 comments on commit 6ccbeb2

Please sign in to comment.