mirror of
https://github.com/home-assistant/core.git
synced 2026-04-20 15:55:14 +00:00
Move URLs out of SABnzbd strings.json (#154333)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -90,4 +90,8 @@ class SABnzbdConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
else user_input,
|
||||
),
|
||||
errors=errors,
|
||||
description_placeholders={
|
||||
"sabnzbd_full_url_local": "http://localhost:8080",
|
||||
"sabnzbd_full_url_addon": "http://a02368d7-sabnzbd:8080",
|
||||
},
|
||||
)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"url": "[%key:common::config_flow::data::url%]"
|
||||
},
|
||||
"data_description": {
|
||||
"url": "The full URL, including port, of the SABnzbd server. Example: `http://localhost:8080` or `http://a02368d7-sabnzbd:8080`, if you are using the add-on.",
|
||||
"url": "The full URL, including port, of the SABnzbd server. Example: `{sabnzbd_full_url_local}` or `{sabnzbd_full_url_addon}`, if you are using the add-on.",
|
||||
"api_key": "The API key of the SABnzbd server. This can be found in the SABnzbd web interface under Config cog (top right) > General > Security."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user