mirror of
https://github.com/1technophile/OpenMQTTGateway.git
synced 2026-02-20 00:32:04 +01:00
[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>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user