1
0
forked from M-Labs/kirdy

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

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();