forked from M-Labs/kirdy
thermostat: Clear alarm when settings are loaded
This commit is contained in:
parent
f4c761c5ca
commit
388e6725ef
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue