mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +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",
|
step_id="reauth_confirm",
|
||||||
data_schema=DATA_SCHEMA,
|
data_schema=DATA_SCHEMA,
|
||||||
errors=errors,
|
errors=errors,
|
||||||
|
description_placeholders={
|
||||||
|
"url": "https://www.home-assistant.io/integrations/sensibo/#prerequisites"
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
async def async_step_reconfigure(
|
async def async_step_reconfigure(
|
||||||
@ -103,6 +106,9 @@ class SensiboConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
step_id="reconfigure",
|
step_id="reconfigure",
|
||||||
data_schema=DATA_SCHEMA,
|
data_schema=DATA_SCHEMA,
|
||||||
errors=errors,
|
errors=errors,
|
||||||
|
description_placeholders={
|
||||||
|
"url": "https://www.home-assistant.io/integrations/sensibo/#prerequisites"
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
async def async_step_user(
|
async def async_step_user(
|
||||||
@ -128,4 +134,7 @@ class SensiboConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
step_id="user",
|
step_id="user",
|
||||||
data_schema=DATA_SCHEMA,
|
data_schema=DATA_SCHEMA,
|
||||||
errors=errors,
|
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%]"
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
||||||
},
|
},
|
||||||
"data_description": {
|
"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": {
|
"reauth_confirm": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user