thermostat: Clear alarm when settings are loaded

This commit is contained in:
linuswck 2024-10-17 17:36:17 +08:00
parent f4c761c5ca
commit 388e6725ef
1 changed files with 1 additions and 0 deletions

View File

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