From c939d1df5361eb7f7358c415881a3ace122057dd Mon Sep 17 00:00:00 2001 From: Jorim Tielemans Date: Sat, 23 Nov 2024 12:50:18 +0100 Subject: [PATCH] Revert "Change default locale to en-GB (#84)" (#145) This reverts commit 0ab4980dbf9c0f700b31ce36240e6d0a610fd26f. --- custom_components/tgtg/sensor.py | 1 - tgtg_get_tokens.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/custom_components/tgtg/sensor.py b/custom_components/tgtg/sensor.py index 0377ac9..09981fd 100644 --- a/custom_components/tgtg/sensor.py +++ b/custom_components/tgtg/sensor.py @@ -74,7 +74,6 @@ def setup_platform( user_id=user_id, cookie=cookie, user_agent=user_agent, - language="en-GB", ) # If item: isn't defined, use favorites - otherwise use defined items diff --git a/tgtg_get_tokens.py b/tgtg_get_tokens.py index abf5674..3bce721 100644 --- a/tgtg_get_tokens.py +++ b/tgtg_get_tokens.py @@ -9,7 +9,7 @@ email = input("Type your email linked to your TGTG account: ") # Set up a tgtg client -tgtgClient = TgtgClient(email=email,language="en-GB") +tgtgClient = TgtgClient(email=email) tgtgClient.get_credentials() # You should receive an email from TGTG: click the link inside to continue.