mirror of
https://github.com/home-assistant/core.git
synced 2025-10-29 13:39:29 +00:00
Move URL out of TheThingsNetwork strings.json (#154760)
This commit is contained in:
committed by
Franck Nijhof
parent
3ed70bb751
commit
f49dfbd459
@@ -82,7 +82,14 @@ class TTNFlowHandler(ConfigFlow, domain=DOMAIN):
|
||||
),
|
||||
user_input,
|
||||
)
|
||||
return self.async_show_form(step_id="user", data_schema=schema, errors=errors)
|
||||
return self.async_show_form(
|
||||
step_id="user",
|
||||
data_schema=schema,
|
||||
errors=errors,
|
||||
description_placeholders={
|
||||
"instructions_url": "https://www.thethingsindustries.com/docs/integrations/adding-applications/"
|
||||
},
|
||||
)
|
||||
|
||||
async def async_step_reauth(
|
||||
self, entry_data: Mapping[str, Any]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Connect to The Things Network v3",
|
||||
"description": "Enter the API hostname, application ID and API key to use with Home Assistant.\n\n[Read the instructions](https://www.thethingsindustries.com/docs/integrations/adding-applications/) on how to register your application and create an API key.",
|
||||
"description": "Enter the API hostname, application ID and API key to use with Home Assistant.\n\n[Read the instructions]({instructions_url}) on how to register your application and create an API key.",
|
||||
"data": {
|
||||
"host": "[%key:common::config_flow::data::host%]",
|
||||
"app_id": "Application ID",
|
||||
|
||||
Reference in New Issue
Block a user