firmware: persist temperature alert settings
This commit is contained in:
@@ -158,6 +158,8 @@ void saveConfig() {
|
||||
preferences.putBool((prefix + "weather").c_str(), appConfig.tempSensors[i].weather);
|
||||
preferences.putString((prefix + "group").c_str(), appConfig.tempSensors[i].group);
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user