Skip to content

Move the coordinator into coordinator.py - #1136

Merged
ic-dev21 merged 1 commit into
mainfrom
refactor/coordinator-module
Nov 18, 2026
Merged

ic-dev21 merged 1 commit into
mainfrom
refactor/coordinator-module

Conversation

@ic-dev21

Copy link
Copy Markdown
Collaborator

First step towards a Home Assistant style coordinator layout. The generic DataUpdateCoordinator built inline in Hilo.async_init becomes a HiloCoordinator subclass in its own module, giving later work (push-based device data, challenge and polling coordinators) a place to grow.

Behaviour is unchanged: it still only runs the tariff and unknown power tick on the configured scan interval. The config entry is now passed explicitly, as Home Assistant recommends, instead of being picked up from the setup context.

First step towards a Home Assistant style coordinator layout. The generic
DataUpdateCoordinator built inline in Hilo.async_init becomes a
HiloCoordinator subclass in its own module, giving later work (push-based
device data, challenge and polling coordinators) a place to grow.

Behaviour is unchanged: it still only runs the tariff and unknown power
tick on the configured scan interval. The config entry is now passed
explicitly, as Home Assistant recommends, instead of being picked up from
the setup context.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ic-dev21
ic-dev21 merged commit bfd3b96 into main Nov 18, 2026
5 checks passed
@ic-dev21
ic-dev21 deleted the refactor/coordinator-module branch November 18, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant