firmware: persist temperature alert settings

This commit is contained in:
2026-06-12 00:32:51 -06:00
parent a009c577cb
commit a51e66d5fc
@@ -158,6 +158,8 @@ void saveConfig() {
preferences.putBool((prefix + "weather").c_str(), appConfig.tempSensors[i].weather); preferences.putBool((prefix + "weather").c_str(), appConfig.tempSensors[i].weather);
preferences.putString((prefix + "group").c_str(), appConfig.tempSensors[i].group); preferences.putString((prefix + "group").c_str(), appConfig.tempSensors[i].group);
preferences.putInt((prefix + "priority").c_str(), appConfig.tempSensors[i].priority); preferences.putInt((prefix + "priority").c_str(), appConfig.tempSensors[i].priority);
preferences.putBool((prefix + "high_alert_enabled").c_str(), appConfig.tempSensors[i].highAlertEnabled);
preferences.putFloat((prefix + "high_alert_f").c_str(), appConfig.tempSensors[i].highAlertF);
} }
preferences.putBool("bms_enabled", appConfig.bms.enabled); preferences.putBool("bms_enabled", appConfig.bms.enabled);