From 378295e1cc2cdcab02d8e4f4b295e8283ff71bd7 Mon Sep 17 00:00:00 2001 From: Andrew Jackson Date: Sat, 18 Oct 2025 19:46:10 +0100 Subject: [PATCH] Move url out of Flume strings.json (#154787) --- homeassistant/components/flume/config_flow.py | 7 ++++++- homeassistant/components/flume/strings.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/flume/config_flow.py b/homeassistant/components/flume/config_flow.py index cbe3f4983fa..bdd4eb4cf51 100644 --- a/homeassistant/components/flume/config_flow.py +++ b/homeassistant/components/flume/config_flow.py @@ -111,7 +111,12 @@ class FlumeConfigFlow(ConfigFlow, domain=DOMAIN): errors[CONF_PASSWORD] = "invalid_auth" 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={ + "api_url": "https://portal.flumetech.com/settings#token" + }, ) async def async_step_reauth( diff --git a/homeassistant/components/flume/strings.json b/homeassistant/components/flume/strings.json index acdb8e35fe0..e138da2c4f0 100644 --- a/homeassistant/components/flume/strings.json +++ b/homeassistant/components/flume/strings.json @@ -7,7 +7,7 @@ }, "step": { "user": { - "description": "In order to access the Flume Personal API, you will need to request a 'Client ID' and 'Client Secret' at https://portal.flumetech.com/settings#token", + "description": "In order to access the Flume Personal API, you will need to request a 'Client ID' and 'Client Secret' at {api_url}", "title": "Connect to your Flume account", "data": { "username": "[%key:common::config_flow::data::username%]",