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.