HA uom L, formatting

This commit is contained in:
MichaelDvP
2026-01-10 18:19:14 +01:00
parent 8799015f59
commit 6fc3bf30b6
2 changed files with 4 additions and 2 deletions

View File

@@ -308,8 +308,8 @@ StateUpdateResult WebSettings::update(JsonObject root, WebSettings & settings) {
}
// save the settings if changed from the webUI
// if we encountered an invalid GPIO on same boardprofile, rollback changes and don't save settings, and report the error to WebUI
// without a restart
// if we encountered an invalid GPIO on same boardprofile, rollback changes and don't save settings,
// and report the error to WebUI without a restart
if (!have_valid_gpios && original_settings.board_profile == settings.board_profile) {
// replace settings with original settings
settings = original_settings;