Move URL out of sfr_box strings.json (#154364)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
epenet
2025-10-14 14:47:32 +02:00
committed by Franck Nijhof
parent 101679c17d
commit 97e338c760
2 changed files with 8 additions and 2 deletions
@@ -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."
}