mirror of https://github.com/arendst/Tasmota.git
Remove disable messages
This commit is contained in:
parent
865b25dff9
commit
9a11d3613b
|
@ -2127,7 +2127,7 @@ void HandleInformation(void)
|
|||
WSContentSend_P(PSTR("}1" D_MQTT_PORT "}2%d"), Settings.mqtt_port);
|
||||
#ifdef USE_MQTT_TLS
|
||||
WSContentSend_P(PSTR("}1" D_MQTT_TLS_ENABLE "}2%s"), Settings.flag4.mqtt_tls ? PSTR(D_ENABLED) : PSTR(D_DISABLED));
|
||||
#endif // USE_MQTT_TLS
|
||||
#endif // USE_MQTT_TLS
|
||||
WSContentSend_P(PSTR("}1" D_MQTT_USER "}2%s"), SettingsText(SET_MQTT_USER));
|
||||
WSContentSend_P(PSTR("}1" D_MQTT_CLIENT "}2%s"), TasmotaGlobal.mqtt_client);
|
||||
WSContentSend_P(PSTR("}1" D_MQTT_TOPIC "}2%s"), SettingsText(SET_MQTT_TOPIC));
|
||||
|
@ -2144,12 +2144,13 @@ void HandleInformation(void)
|
|||
} else {
|
||||
WSContentSend_P(PSTR("}1" D_MQTT "}2" D_DISABLED));
|
||||
}
|
||||
WSContentSend_P(PSTR("}1}2 ")); // Empty line
|
||||
|
||||
#if defined(USE_EMULATION) || defined(USE_DISCOVERY)
|
||||
WSContentSend_P(PSTR("}1}2 ")); // Empty line
|
||||
#endif // USE_EMULATION or USE_DISCOVERY
|
||||
#ifdef USE_EMULATION
|
||||
WSContentSend_P(PSTR("}1" D_EMULATION "}2%s"), GetTextIndexed(stopic, sizeof(stopic), Settings.flag2.emulation, kEmulationOptions));
|
||||
#endif // USE_EMULATION
|
||||
|
||||
#endif // USE_EMULATION
|
||||
#ifdef USE_DISCOVERY
|
||||
WSContentSend_P(PSTR("}1" D_MDNS_DISCOVERY "}2%s"), (Settings.flag3.mdns_enabled) ? D_ENABLED : D_DISABLED); // SetOption55 - Control mDNS service
|
||||
if (Settings.flag3.mdns_enabled) { // SetOption55 - Control mDNS service
|
||||
|
@ -2157,9 +2158,9 @@ void HandleInformation(void)
|
|||
WSContentSend_P(PSTR("}1" D_MDNS_ADVERTISE "}2" D_WEB_SERVER));
|
||||
#else
|
||||
WSContentSend_P(PSTR("}1" D_MDNS_ADVERTISE "}2" D_DISABLED));
|
||||
#endif // WEBSERVER_ADVERTISE
|
||||
#endif // WEBSERVER_ADVERTISE
|
||||
}
|
||||
#endif // USE_DISCOVERY
|
||||
#endif // USE_DISCOVERY
|
||||
|
||||
WSContentSend_P(PSTR("}1}2 ")); // Empty line
|
||||
WSContentSend_P(PSTR("}1" D_ESP_CHIP_ID "}2%d"), ESP_getChipId());
|
||||
|
|
Loading…
Reference in New Issue