mirror of
https://github.com/home-assistant/core.git
synced 2025-11-07 18:09:31 +00:00
Move url out of rachio strings.json (#154781)
This commit is contained in:
committed by
Franck Nijhof
parent
32cd4364f6
commit
1df8b1063b
@@ -91,7 +91,12 @@ class RachioConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
errors["base"] = "unknown"
|
errors["base"] = "unknown"
|
||||||
|
|
||||||
return self.async_show_form(
|
return self.async_show_form(
|
||||||
step_id="user", data_schema=DATA_SCHEMA, errors=errors
|
step_id="user",
|
||||||
|
data_schema=DATA_SCHEMA,
|
||||||
|
errors=errors,
|
||||||
|
description_placeholders={
|
||||||
|
"api_key_url": "https://app.rach.io/",
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
async def async_step_homekit(
|
async def async_step_homekit(
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"step": {
|
"step": {
|
||||||
"user": {
|
"user": {
|
||||||
"title": "Connect to your Rachio device",
|
"title": "Connect to your Rachio device",
|
||||||
"description": "You will need the API key from https://app.rach.io/. Go to Settings, then select 'GET API KEY'.",
|
"description": "You will need the API key from {api_key_url}. Go to Settings, then select 'GET API KEY'.",
|
||||||
"data": {
|
"data": {
|
||||||
"api_key": "[%key:common::config_flow::data::api_key%]"
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user