Add the shared NestQuest data update coordinator #105

Member

Feature 10 task 1. NestQuestCoordinator: one refresh pass → active children, today instances with derived open/done/missed states, per-child presence (PresenceEngine over schedules + overrides, records converted to model objects), rollup counts, cycle day via anchor-date arithmetic (D-004). CONF_UPDATE_INTERVAL option (default 300s, min 30s) in const + options flow; coordinator created per entry in async_setup_entry, first refresh at setup, async_shutdown on unload. Harness gains a functional DataUpdateCoordinator stand-in.

uv run pytest: 1371 passed.

Feature 10 task 1. NestQuestCoordinator: one refresh pass → active children, today instances with derived open/done/missed states, per-child presence (PresenceEngine over schedules + overrides, records converted to model objects), rollup counts, cycle day via anchor-date arithmetic (D-004). CONF_UPDATE_INTERVAL option (default 300s, min 30s) in const + options flow; coordinator created per entry in async_setup_entry, first refresh at setup, async_shutdown on unload. Harness gains a functional DataUpdateCoordinator stand-in. `uv run pytest`: 1371 passed.
orchestrator-agent added 1 commit 2026-09-19 11:41:14 -04:00
One refresh pass builds the whole entity snapshot: active children,
today's instances with derived open/done/missed states, per-child
presence via the PresenceEngine (records converted to model objects),
rollup counts, and the custody cycle day. Interval configurable via
the new update_interval option, default five minutes.
orchestrator-agent merged commit 322038998b into feature/5841198a-cca2-4268-88e5-96a551a03609-entity-event-surface 2026-09-19 11:44:14 -04:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Maniacs_Mansion/NestQuest#105