thermostat: Clear alarm when settings are loaded

This commit is contained in:
linuswck 2024-10-17 16:51:33 +08:00
parent e922712eb7
commit 8f79027d66
1 changed files with 1 additions and 0 deletions

View File

@ -601,6 +601,7 @@ impl Thermostat {
if !settings.pid_engaged {
self.set_i(settings.tec_settings.i_set.value);
}
self.clear_temp_mon_alarm();
self.set_default_pwr_on(settings.default_pwr_on);
if settings.default_pwr_on {
self.power_up();