Skip to content

Commit

Permalink
Update audi_services.py
Browse files Browse the repository at this point in the history
  • Loading branch information
coreywillwhat authored Jul 26, 2024
1 parent f37b80a commit 355f0a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/audiconnect/audi_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 355f0a9

Please sign in to comment.