1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Move URL out of Tomorrow.io strings.json (#154759)

This commit is contained in:
Andrew Jackson
2025-10-18 17:54:11 +01:00
committed by Franck Nijhof
parent b4b1065737
commit 3ed70bb751
2 changed files with 4 additions and 1 deletions

View File

@@ -172,4 +172,7 @@ class TomorrowioConfigFlow(ConfigFlow, domain=DOMAIN):
step_id="user",
data_schema=_get_config_schema(self.hass, self.source, user_input),
errors=errors,
description_placeholders={
"signup_link": "[Tomorrow.io](https://app.tomorrow.io/signup)"
},
)

View File

@@ -2,7 +2,7 @@
"config": {
"step": {
"user": {
"description": "To get an API key, sign up at [Tomorrow.io](https://app.tomorrow.io/signup).",
"description": "To get an API key, sign up at {signup_link}.",
"data": {
"name": "[%key:common::config_flow::data::name%]",
"api_key": "[%key:common::config_flow::data::api_key%]",