Skip to content

Commit 3ed70bb

Browse files
andrew-codechimpfrenck
authored andcommitted
Move URL out of Tomorrow.io strings.json (home-assistant#154759)
1 parent b4b1065 commit 3ed70bb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

homeassistant/components/tomorrowio/config_flow.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,7 @@ async def async_step_user(
172172
step_id="user",
173173
data_schema=_get_config_schema(self.hass, self.source, user_input),
174174
errors=errors,
175+
description_placeholders={
176+
"signup_link": "[Tomorrow.io](https://app.tomorrow.io/signup)"
177+
},
175178
)

homeassistant/components/tomorrowio/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"config": {
33
"step": {
44
"user": {
5-
"description": "To get an API key, sign up at [Tomorrow.io](https://app.tomorrow.io/signup).",
5+
"description": "To get an API key, sign up at {signup_link}.",
66
"data": {
77
"name": "[%key:common::config_flow::data::name%]",
88
"api_key": "[%key:common::config_flow::data::api_key%]",

0 commit comments

Comments
 (0)