File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
homeassistant/components/tesla_fleet
tests/components/tesla_fleet Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1414
1515LOGGER = logging .getLogger (__package__ )
1616
17- CLIENT_ID = "71b813eb-4a2e-483a-b831-4dec5cb9bf0d"
18- AUTHORIZE_URL = "https://auth.tesla.com/oauth2/v3/authorize"
19- TOKEN_URL = "https://auth.tesla.com/oauth2/v3/token"
17+ AUTHORIZE_URL = "https://fleet-auth.prd.vn.cloud.tesla.com/oauth2/v3/authorize"
18+ TOKEN_URL = "https://fleet-auth.prd.vn.cloud.tesla.com/oauth2/v3/token"
2019
2120SCOPES = [
2221 Scope .OPENID ,
Original file line number Diff line number Diff line change 88 ClientCredential ,
99 async_import_client_credential ,
1010)
11- from homeassistant .components .tesla_fleet .const import CLIENT_ID , DOMAIN
11+ from homeassistant .components .tesla_fleet .const import DOMAIN
1212from homeassistant .const import Platform
1313from homeassistant .core import HomeAssistant
1414from homeassistant .helpers import entity_registry as er
@@ -28,7 +28,7 @@ async def setup_platform(
2828 await async_import_client_credential (
2929 hass ,
3030 DOMAIN ,
31- ClientCredential (CLIENT_ID , "" , "Home Assistant" ),
31+ ClientCredential (" CLIENT_ID" , "CLIENT_SECRET " , "Home Assistant" ),
3232 DOMAIN ,
3333 )
3434
You can’t perform that action at this time.
0 commit comments