From 355f0a9f351b147433bc42b044d9569aa67d9517 Mon Sep 17 00:00:00 2001 From: coreywillwhat <104224685+coreywillwhat@users.noreply.github.com> Date: Fri, 26 Jul 2024 09:16:26 -0600 Subject: [PATCH] Update audi_services.py --- custom_components/audiconnect/audi_services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/audiconnect/audi_services.py b/custom_components/audiconnect/audi_services.py index ff396f10..e6f2cd4a 100644 --- a/custom_components/audiconnect/audi_services.py +++ b/custom_components/audiconnect/audi_services.py @@ -287,7 +287,7 @@ async def get_vehicle_information(self): req_rsp, rep_rsptxt = await self._api.request( "POST", URL_INFO_VEHICLE_US - if self._country.upper() == "US" + if self._country.upper() == REGION_USA else URL_INFO_VEHICLE, # Starting in 2023, US users need to point at the aoa (Audi of America) URL. json.dumps(req_data), headers=headers,