This commit is contained in:
Mateusz Gruszczyński committed 2026-09-23 09:24:15 +02:00
1 parent 0148daf410
commit f08613a254
23 files changed
+290 -70

No files matched your search

+1
View File
@@ -161,6 +161,7 @@ impl AutomationInput {
action: self.action,
cooldown_seconds: self.cooldown_seconds.max(30),
last_fired_at,
last_trigger_trace: vec![],
action_zone_id: None,
action_zone_preset: None,
action_ha_domain: None,
+5
View File
@@ -1361,6 +1361,10 @@ fn compile_flow(
let last_fired_at = previous_automations
.get(&id)
.and_then(|item| item.last_fired_at.clone());
let last_trigger_trace = previous_automations
.get(&id)
.map(|item| item.last_trigger_trace.clone())
.unwrap_or_default();
let flow_runtime = previous_automations
.get(&id)
.map(|item| {
@@ -1411,6 +1415,7 @@ fn compile_flow(
action: DeviceCommand::default(),
cooldown_seconds: 60,
last_fired_at,
last_trigger_trace,
action_zone_id: None,
action_zone_preset: None,
action_ha_domain: None,