v0.15.18
This commit is contained in:
1 parent
0148daf410
commit
f08613a254
23 files changed
+290
-70
No files matched your search
@@ -74,6 +74,10 @@ pub struct Automation {
|
||||
pub cooldown_seconds: u64,
|
||||
#[serde(default)]
|
||||
pub last_fired_at: Option<DateTime<Utc>>,
|
||||
/// Snapshot of the evaluated Flow condition trace from the most recent execution attempt.
|
||||
/// Empty for legacy/direct automations and for Flow automations that have never executed.
|
||||
#[serde(default)]
|
||||
pub last_trigger_trace: Vec<Value>,
|
||||
/// Optional Flow-owned thermostat zone target.
|
||||
#[serde(default)]
|
||||
pub action_zone_id: Option<String>,
|
||||
|
||||
@@ -92,6 +92,12 @@ pub struct AutomationPlanRule {
|
||||
pub action_preset: Option<String>,
|
||||
pub action: DeviceCommand,
|
||||
pub last_fired_at: Option<DateTime<Utc>>,
|
||||
#[serde(default)]
|
||||
pub last_trigger_trace: Vec<Value>,
|
||||
#[serde(default)]
|
||||
pub flow_id: Option<String>,
|
||||
#[serde(default)]
|
||||
pub flow_node_id: Option<String>,
|
||||
pub next_ready_at: Option<DateTime<Utc>>,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user