From 8f79027d66874fbae58f72f1a75549a40bb87876 Mon Sep 17 00:00:00 2001 From: linuswck Date: Thu, 17 Oct 2024 16:51:33 +0800 Subject: [PATCH] thermostat: Clear alarm when settings are loaded --- src/thermostat/thermostat.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/thermostat/thermostat.rs b/src/thermostat/thermostat.rs index 8151332..4331b2d 100644 --- a/src/thermostat/thermostat.rs +++ b/src/thermostat/thermostat.rs @@ -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();