Skip to content

feat(coordinator): add 60s polling fallback for MQTT push - #2

Merged
Dekkee merged 1 commit into
mainfrom
feat/polling-fallback
Jun 12, 2026
Merged

feat(coordinator): add 60s polling fallback for MQTT push#2
Dekkee merged 1 commit into
mainfrom
feat/polling-fallback

Conversation

@Dekkee

@Dekkee Dekkee commented Jun 12, 2026

Copy link
Copy Markdown
Owner

The integration is push-only: the DataUpdateCoordinator had no update_interval, so state relied entirely on the AWS IoT MQTT subscription. That subscription can silently stall (observed on HA 2026.6.1: connection alive but SUBSCRIBE never ACKed, watchdog unable to recover without a full restart), leaving entity state frozen until a manual restart.

Add an update_method that refreshes each appliance over REST via pyhon's appliance.update(), on a 60s interval. Push stays the primary fast path; polling bounds staleness and keeps state usable when push is dead — restoring the resilience the old cloud_polling integration had.

Also pass config_entry=entry to the coordinator (silently ignored pre-2026.8, required from 2026.8 — avoids a future breakage).

The integration is push-only: the DataUpdateCoordinator had no
update_interval, so state relied entirely on the AWS IoT MQTT
subscription. That subscription can silently stall (observed on HA
2026.6.1: connection alive but SUBSCRIBE never ACKed, watchdog unable
to recover without a full restart), leaving entity state frozen until
a manual restart.

Add an update_method that refreshes each appliance over REST via
pyhon's appliance.update(), on a 60s interval. Push stays the primary
fast path; polling bounds staleness and keeps state usable when push
is dead — restoring the resilience the old cloud_polling integration had.

Also pass config_entry=entry to the coordinator (silently ignored
pre-2026.8, required from 2026.8 — avoids a future breakage).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Dekkee
Dekkee merged commit e5547e8 into main Jun 12, 2026
0 of 4 checks passed
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