Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d238060

Browse files
Move url out of rachio strings.json (home-assistant#154781)
1 parent 37188a0 commit d238060

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

‎homeassistant/components/rachio/config_flow.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,12 @@ async def async_step_user(
9191
errors["base"] = "unknown"
9292

9393
return self.async_show_form(
94-
step_id="user", data_schema=DATA_SCHEMA, errors=errors
94+
step_id="user",
95+
data_schema=DATA_SCHEMA,
96+
errors=errors,
97+
description_placeholders={
98+
"api_key_url": "https://app.rach.io/",
99+
},
95100
)
96101

97102
async def async_step_homekit(

‎homeassistant/components/rachio/strings.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"step": {
44
"user": {
55
"title": "Connect to your Rachio device",
6-
"description": "You will need the API key from https://app.rach.io/. Go to Settings, then select 'GET API KEY'.",
6+
"description": "You will need the API key from {api_key_url}. Go to Settings, then select 'GET API KEY'.",
77
"data": {
88
"api_key": "[%key:common::config_flow::data::api_key%]"
99
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /