From f5fe3ed2233b931a138ceceee37d68037ba80b46 Mon Sep 17 00:00:00 2001 From: Florian Date: Tue, 12 Nov 2024 08:26:29 -0600 Subject: [PATCH] [DISC] Remove unnecessary discovery publication (#2105) They are not anymore needed as we keep the scan and presence parameters always displayed Co-authored-by: Florian <1technophile@users.noreply.github.com> --- main/ZgatewayBT.ino | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main/ZgatewayBT.ino b/main/ZgatewayBT.ino index 61f4e011..63174824 100644 --- a/main/ZgatewayBT.ino +++ b/main/ZgatewayBT.ino @@ -183,11 +183,6 @@ void BTConfig_fromJson(JsonObject& BTdata, bool startup = false) { } // Home Assistant presence message Config_update(BTdata, "hasspresence", BTConfig.presenceEnable); -# ifdef ZmqttDiscovery - // Create discovery entities - btScanParametersDiscovery(); - btPresenceParametersDiscovery(); -# endif // Time before before active scan // Scan interval set - and avoid intervalacts to be lower than interval if (BTdata.containsKey("interval") && BTdata["interval"] != 0) {