diff --git a/custom_components/audiconnect/audi_services.py b/custom_components/audiconnect/audi_services.py index e32766da..5f13e2d5 100644 --- a/custom_components/audiconnect/audi_services.py +++ b/custom_components/audiconnect/audi_services.py @@ -551,7 +551,7 @@ async def set_climatisation(self, vin: str, start: bool): headers = { "Authorization": "Bearer " + self._bearer_token_json["access_token"] } - res = await self._api.request( + await self._api.request( "POST", "https://emea.bff.cariad.digital/vehicle/v1/vehicles/{vin}/climatisation/start".format( vin=vin.upper(), @@ -564,7 +564,7 @@ async def set_climatisation(self, vin: str, start: bool): headers = { "Authorization": "Bearer " + self._bearer_token_json["access_token"] } - res = await self._api.request( + await self._api.request( "POST", "https://emea.bff.cariad.digital/vehicle/v1/vehicles/{vin}/climatisation/stop".format( vin=vin.upper(),