fix Last Will (LWT) not set on MQTT Connect #2247

This commit is contained in:
proddy
2024-11-25 00:56:15 +01:00
parent a7a3207cca
commit acebc03d69
5 changed files with 23 additions and 15 deletions

View File

@@ -57,10 +57,6 @@ class ESP8266React {
// special functions needed outside scope
//
void setWill(const char * will_topic) {
_mqttSettingsService.setWill(will_topic);
}
// true if AP is active
bool apStatus() {
return _apSettingsService.getAPNetworkStatus() == APNetworkStatus::ACTIVE;