200 files

This commit is contained in:
Home Assistant Version Control
2026-09-11 12:11:18 +00:00
parent ff4156dc89
commit 8769f3b12b
201 changed files with 5190 additions and 24141 deletions
@@ -227,6 +227,12 @@ class MaintenanceStore:
"""Remove all state for a deleted task."""
self._data.get("tasks", {}).pop(task_id, None)
def put_task_state(self, task_id: str, state: dict[str, Any]) -> None:
"""Replace a task's dynamic state wholesale — the task/move path carries
history, last_performed, adaptive config and trigger runtime from one
object's Store to another's."""
self._data.setdefault("tasks", {})[task_id] = dict(state)
# --- in-cycle checklist progress (#73) -----------------------------------
def set_checklist_progress(self, task_id: str, state: dict[str, bool]) -> None: