Fix link in Tibber configuration menu (#104322)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
ceb2680185
commit
af7155df7a
2 changed files with 4 additions and 1 deletions
|
@ -19,6 +19,7 @@ DATA_SCHEMA = vol.Schema({vol.Required(CONF_ACCESS_TOKEN): str})
|
|||
ERR_TIMEOUT = "timeout"
|
||||
ERR_CLIENT = "cannot_connect"
|
||||
ERR_TOKEN = "invalid_access_token"
|
||||
TOKEN_URL = "https://developer.tibber.com/settings/access-token"
|
||||
|
||||
|
||||
class TibberConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
|
@ -60,6 +61,7 @@ class TibberConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
return self.async_show_form(
|
||||
step_id="user",
|
||||
data_schema=DATA_SCHEMA,
|
||||
description_placeholders={"url": TOKEN_URL},
|
||||
errors=errors,
|
||||
)
|
||||
|
||||
|
@ -75,5 +77,6 @@ class TibberConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
return self.async_show_form(
|
||||
step_id="user",
|
||||
data_schema=DATA_SCHEMA,
|
||||
description_placeholders={"url": TOKEN_URL},
|
||||
errors={},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue