mirror of
https://github.com/home-assistant/core.git
synced 2026-05-04 11:54:35 +02:00
Move URL out of sfr_box strings.json (#154364)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
@@ -61,7 +61,13 @@ class SFRBoxFlowHandler(ConfigFlow, domain=DOMAIN):
|
||||
|
||||
data_schema = self.add_suggested_values_to_schema(DATA_SCHEMA, user_input)
|
||||
return self.async_show_form(
|
||||
step_id="user", data_schema=data_schema, errors=errors
|
||||
step_id="user",
|
||||
data_schema=data_schema,
|
||||
errors=errors,
|
||||
description_placeholders={
|
||||
"sample_ip": "192.168.1.1",
|
||||
"sample_url": "https://sfrbox.example.com",
|
||||
},
|
||||
)
|
||||
|
||||
async def async_step_choose_auth(
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"host": "[%key:common::config_flow::data::host%]"
|
||||
},
|
||||
"data_description": {
|
||||
"host": "The hostname, IP address, or full URL of your SFR device. e.g.: '192.168.1.1' or 'https://sfrbox.example.com'"
|
||||
"host": "The hostname, IP address, or full URL of your SFR device. e.g.: `{sample_ip}` or `{sample_url}`"
|
||||
},
|
||||
"description": "Setting the credentials is optional, but enables additional functionality."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user