From 388e6725ef29793544c72d11109d24f4d4b23ac3 Mon Sep 17 00:00:00 2001 From: linuswck Date: Thu, 17 Oct 2024 17:36:17 +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();