From 9fd5d01177cb2c2be1a06a15b37858613e5d4402 Mon Sep 17 00:00:00 2001 From: Thomas <299636+heldchen@users.noreply.github.com> Date: Fri, 21 Jun 2024 14:23:52 +0200 Subject: [PATCH] Update panasonicsession.py fix function casing --- .../panasonic_cc/pcomfortcloud/panasonicsession.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/panasonic_cc/pcomfortcloud/panasonicsession.py b/custom_components/panasonic_cc/pcomfortcloud/panasonicsession.py index 3bc104a..618a765 100644 --- a/custom_components/panasonic_cc/pcomfortcloud/panasonicsession.py +++ b/custom_components/panasonic_cc/pcomfortcloud/panasonicsession.py @@ -122,7 +122,7 @@ async def _get_new_token(self): # check if the user can skip the authentication workflows - in that case, # the location is directly pointing to the redirect url with the "code" # query parameter included - if not location.startsWith(PanasonicSession.REDIRECT_URI): + if not location.startswith(PanasonicSession.REDIRECT_URI): response = await self._client.get( f"{PanasonicSession.BASE_PATH_AUTH}/{location}",