This commit is contained in:
Mateusz Gruszczyński committed 2026-09-01 14:18:00 +02:00
1 parent 97c26c67b6
commit d0346dd797
33 files changed
+327 -270

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ pub struct ControlPlan {
pub house_mode: String,
/// Uniform whole-house preset when every zone uses the same override; None for a mixed state.
pub house_preset: Option<String>,
/// Whole-house master power state.
/// Compatibility field. Global ON/OFF is a one-shot action; this is always true in v0.9.3+.
pub house_power: bool,
pub outdoor_temperature: Option<f64>,
pub control_strategy: String,
+2 -1
View File
@@ -9,7 +9,8 @@ pub struct RuntimeSettings {
/// Global seasonal mode. Zones follow this by default. Values: cool/heat/off; off pauses house-level thermostat control.
#[serde(default = "default_house_mode")]
pub house_mode: String,
/// Whole-house master power. False is authoritative and suppresses zone/automation restarts.
/// Legacy compatibility flag. Since v0.9.3 global ON/OFF is a one-shot command, not an
/// automation gate. The controller normalizes this field to true on load/import.
#[serde(default = "default_true")]
pub house_power_enabled: bool,
/// `setpoint` keeps units powered and modulates compressor demand by changing target temperature.
+2 -2
View File
@@ -86,8 +86,8 @@ pub struct Zone {
pub manual_setpoint: Option<f64>,
#[serde(default)]
pub manual_override_until: Option<DateTime<Utc>>,
/// Local quick-thermostat power override. None follows group/global power gates;
/// Some(true) runs this zone locally through the full thermostat; Some(false) keeps it locally off.
/// Local quick-thermostat power override. None follows group/house rules; Some(true) runs
/// this zone locally through the full thermostat; Some(false) keeps it locally off.
#[serde(default)]
pub local_thermostat_power: Option<bool>,
/// Automatic hand-back deadline after the local quick thermostat is switched OFF.