Native mechanism to recover missed automations and delays after system restart #3791
Unanswered
bartoszperko
asked this question in
Automations & scripts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature
Currently when Home Assistant restarts it completely drops all active
delayandwait_for_triggeractions. It also misses any time-based triggers that occurred during the system downtime.Proposed solution:
Introduce a native "Recovery mode" or "Catch-up" toggle in the automation configuration.
.storage. After a reboot the system should calculate elapsed downtime and resume the wait process if the time has not expired.Use cases
delay) before turning it off. If a core update or restart happens during this 5-minute window the light will stay on indefinitely.Current workarounds
Users have to build complex workarounds using
homeassistantstart triggers combined with time conditions to catch missed time events. For delays users must avoid thedelayaction entirely and migrate their logic totimerhelpers which survive reboots but require creating separate entities and complex logic.Anything else?
This feature would drastically simplify automation logic for all users. It removes the need for boilerplate YAML code and makes the entire smart home environment truly reliable and resilient to host reboots or core updates out of the box.
Beta Was this translation helpful? Give feedback.
All reactions