Skip to content

Commit

Permalink
[DISC] Remove unnecessary discovery publication
Browse files Browse the repository at this point in the history
They are not anymore needed as we keep the scan and presence parameters always displayed
  • Loading branch information
1technophile committed Nov 12, 2024
1 parent bb05011 commit 910d44e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main/ZgatewayBT.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 910d44e

Please sign in to comment.