This commit is contained in:
Mateusz Gruszczyński
2026-09-01 09:19:33 +02:00
parent ac5a464d96
commit 1a5c1305dc
20 changed files with 200 additions and 42 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ async fn control_zones(state: &AppState) -> Result<()> {
continue;
};
let half = zone.hysteresis.max(0.1) / 2.0;
let half = zone.hysteresis_for_mode(effective_mode) / 2.0;
let previous_demand = zone.demand;
zone.demand = match effective_mode {
"heat" => {