Move url out of rachio strings.json (#154781)

This commit is contained in:
Andrew Jackson
2025-10-18 18:30:48 +01:00
committed by Franck Nijhof
parent 32cd4364f6
commit 1df8b1063b
2 changed files with 7 additions and 2 deletions

View File

@@ -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(

View File

@@ -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%]"
} }