v0.9.0
This commit is contained in:
@@ -168,6 +168,9 @@ fn set_device_manual_override(state: &AppState, zone: &mut Zone, fields: Vec<Str
|
||||
}
|
||||
zone.demand = false;
|
||||
zone.demand_since = None;
|
||||
// Direct/manual takeover supersedes any thermostat task that was waiting behind
|
||||
// compressor protection; never leave a stale queued badge behind.
|
||||
rearm_compressor_queue(zone);
|
||||
zone.updated_at = now;
|
||||
state.db.save_zone(zone)?;
|
||||
state.broadcast("zone.updated", serde_json::to_value(&*zone)?);
|
||||
|
||||
Reference in New Issue
Block a user