v0.7.4
This commit is contained in:
@@ -322,6 +322,17 @@ pub struct Zone {
|
||||
pub manual_setpoint: Option<f64>,
|
||||
#[serde(default)]
|
||||
pub manual_override_until: Option<DateTime<Utc>>,
|
||||
/// True when the physical unit was changed outside the thermostat engine (for example by IR remote).
|
||||
/// While active, normal zone/group/schedule automation observes the unit but does not overwrite it.
|
||||
#[serde(default)]
|
||||
pub device_manual_override: bool,
|
||||
#[serde(default)]
|
||||
pub device_manual_override_since: Option<DateTime<Utc>>,
|
||||
#[serde(default)]
|
||||
pub device_manual_override_until: Option<DateTime<Utc>>,
|
||||
/// Climate-relevant fields that caused the most recent external/manual takeover.
|
||||
#[serde(default)]
|
||||
pub device_manual_override_fields: Vec<String>,
|
||||
#[serde(default)]
|
||||
pub effective_mode: String,
|
||||
#[serde(default)]
|
||||
@@ -380,6 +391,9 @@ pub struct ZoneControlPatch {
|
||||
pub preset: Option<String>,
|
||||
#[serde(default)]
|
||||
pub clear_override: Option<bool>,
|
||||
/// Explicitly hand control of a manually overridden physical unit back to the thermostat engine.
|
||||
#[serde(default)]
|
||||
pub clear_device_manual_override: Option<bool>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
@@ -680,6 +694,8 @@ pub struct ZoneControlPlan {
|
||||
pub demand: bool,
|
||||
pub control_source: String,
|
||||
pub manual_override_until: Option<DateTime<Utc>>,
|
||||
pub device_manual_override: bool,
|
||||
pub device_manual_override_until: Option<DateTime<Utc>>,
|
||||
pub current_schedule_id: Option<String>,
|
||||
pub current_schedule_name: Option<String>,
|
||||
pub next_events: Vec<ControlPlanEvent>,
|
||||
|
||||
Reference in New Issue
Block a user