Skip to content

Commit 13e8280

Browse files
authored
Move developer url out of strings.json for coinbase setup flow (home-assistant#154339)
1 parent b517774 commit 13e8280

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

homeassistant/components/coinbase/config_flow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ async def async_step_reauth_confirm(
166166
data_schema=STEP_USER_DATA_SCHEMA,
167167
description_placeholders={
168168
"account_name": self.reauth_entry.title,
169+
"developer_url": "https://www.coinbase.com/developer-platform",
169170
},
170171
errors=errors,
171172
)
@@ -195,6 +196,7 @@ async def async_step_reauth_confirm(
195196
data_schema=STEP_USER_DATA_SCHEMA,
196197
description_placeholders={
197198
"account_name": self.reauth_entry.title,
199+
"developer_url": "https://www.coinbase.com/developer-platform",
198200
},
199201
errors=errors,
200202
)

homeassistant/components/coinbase/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"reauth_confirm": {
1313
"title": "Update Coinbase API credentials",
14-
"description": "Your current Coinbase API key appears to be for the deprecated v2 API. Please reconfigure with a new API key created for the v3 API. Visit https://www.coinbase.com/developer-platform to create new credentials for {account_name}.",
14+
"description": "Your current Coinbase API key appears to be for the deprecated v2 API. Please reconfigure with a new API key created for the v3 API. Visit the [Developer Platform]({developer_url}) to create new credentials for {account_name}.",
1515
"data": {
1616
"api_key": "[%key:common::config_flow::data::api_key%]",
1717
"api_token": "API secret"

0 commit comments

Comments
 (0)