mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Add placeholder url to Sensibo api description (#134342)
This commit is contained in:
parent
9a58440296
commit
2e1463b9e9
@ -77,6 +77,9 @@ class SensiboConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
step_id="reauth_confirm",
|
||||
data_schema=DATA_SCHEMA,
|
||||
errors=errors,
|
||||
description_placeholders={
|
||||
"url": "https://www.home-assistant.io/integrations/sensibo/#prerequisites"
|
||||
},
|
||||
)
|
||||
|
||||
async def async_step_reconfigure(
|
||||
@ -103,6 +106,9 @@ class SensiboConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
step_id="reconfigure",
|
||||
data_schema=DATA_SCHEMA,
|
||||
errors=errors,
|
||||
description_placeholders={
|
||||
"url": "https://www.home-assistant.io/integrations/sensibo/#prerequisites"
|
||||
},
|
||||
)
|
||||
|
||||
async def async_step_user(
|
||||
@ -128,4 +134,7 @@ class SensiboConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
step_id="user",
|
||||
data_schema=DATA_SCHEMA,
|
||||
errors=errors,
|
||||
description_placeholders={
|
||||
"url": "https://www.home-assistant.io/integrations/sensibo/#prerequisites"
|
||||
},
|
||||
)
|
||||
|
@ -18,7 +18,7 @@
|
||||
"api_key": "[%key:common::config_flow::data::api_key%]"
|
||||
},
|
||||
"data_description": {
|
||||
"api_key": "Follow the documentation to get your api key"
|
||||
"api_key": "Follow the [documentation]({url}) to get your api key"
|
||||
}
|
||||
},
|
||||
"reauth_confirm": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user