diff --git a/AUTHORS.md b/AUTHORS.md index 1cd920f..0262d14 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -22,3 +22,4 @@ - Bre77 [Github](https://github.com/Bre77) - craigrouse [Github](https://github.com/craigrouse) - thierryVT [Github](https://github.com/thierryvt) +- llamafilm [Github](https://github.com/llamafilm) diff --git a/teslajsonpy/connection.py b/teslajsonpy/connection.py index 097750b..45201a0 100644 --- a/teslajsonpy/connection.py +++ b/teslajsonpy/connection.py @@ -55,15 +55,7 @@ def __init__( ) -> None: """Initialize connection object.""" self.user_agent: Text = "TeslaApp/4.10.0" - if client_id == "ownerapi": - self.client_id: Text = ( - "81527cff06843c8634fdc09e8ac0abef" "b46ac849f38fe1e431c2ef2106796384" - ) - self.client_secret: Text = ( - "c7257eb71a564034f9419ee651c7d0e5f7" "aa6bfbd18bafb5c5c033b093bb2fa3" - ) - else: - self.client_id = client_id + self.client_id = client_id if api_proxy_url is None: self.baseurl: Text = DOMAIN_KEY.get( auth_domain[auth_domain.rfind(".") :], API_URL