mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix web color rendering for mqtt fails
This commit is contained in:
@@ -215,6 +215,8 @@ StateUpdateResult MqttSettings::update(JsonObject & root, MqttSettings & setting
|
||||
emsesp::EMSESP::mqtt_.set_publish_time(newSettings.publish_time);
|
||||
}
|
||||
|
||||
emsesp::EMSESP::mqtt_.reset_publish_fails(); // reset fail counter back to 0
|
||||
|
||||
settings = newSettings;
|
||||
|
||||
return StateUpdateResult::CHANGED;
|
||||
|
||||
Reference in New Issue
Block a user