Skip to content

Commit 18c8bd3

Browse files
committed
fix: default client_id ownerapi
1 parent 100ae1e commit 18c8bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/tesla_custom/config_flow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ async def validate_input(hass: core.HomeAssistant, data) -> dict:
279279
config[CONF_INCLUDE_ENERGYSITES] = data[CONF_INCLUDE_ENERGYSITES]
280280
config[CONF_API_PROXY_URL] = data.get(CONF_API_PROXY_URL)
281281
config[CONF_API_PROXY_CERT] = data.get(CONF_API_PROXY_CERT)
282-
config[CONF_CLIENT_ID] = data.get(CONF_CLIENT_ID)
282+
config[CONF_CLIENT_ID] = data.get(CONF_CLIENT_ID, "ownerapi")
283283

284284
except IncompleteCredentials as ex:
285285
_LOGGER.error("Authentication error: %s %s", ex.message, ex)

0 commit comments

Comments
 (0)