From 2563254d3067d700f68aec5980a9c90d10c63daa Mon Sep 17 00:00:00 2001 From: Mariusz Wasiluk Date: Thu, 25 Dec 2025 12:48:54 +0100 Subject: [PATCH] Rework MQTT web configuration --- src/web/html/setup.html | 13 +++++-------- src/web/lang.json | 9 +++++++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/web/html/setup.html b/src/web/html/setup.html index 33399728..a3a15362 100644 --- a/src/web/html/setup.html +++ b/src/web/html/setup.html @@ -245,20 +245,17 @@
-
Send Home Assistant discovery config on MQTT connect
-
+
{#RETAIN}
+
-
Force sending Home Assistant discovery config
-
+
{#SEND_CONFIG_ON_CONNECT}
+
+
-
-
{#RETAIN}
-
-
diff --git a/src/web/lang.json b/src/web/lang.json index 96f60a54..21354f54 100644 --- a/src/web/lang.json +++ b/src/web/lang.json @@ -495,8 +495,8 @@ }, { "token": "BTN_SEND", - "en": "send", - "de": "senden" + "en": "Force send", + "de": "Senden erzwingen" }, { "token": "BTN_REBOOT_SUCCESSFUL_SAVE", @@ -822,6 +822,11 @@ "token": "NO_NETWORK_FOUND", "en": "no network found", "de": "kein Netzwerk gefunden" + }, + { + "token": "SEND_CONFIG_ON_CONNECT", + "en": "Send discovery config on MQTT connect", + "de": "Discovery-Konfiguration beim MQTT-Verbindungsaufbau senden" } ] },