Skip to content

fix: keep last data during transient 5xx/429 Panasonic errors - #481

Open
dennismdejong wants to merge 1 commit into
sockless-coding:masterfrom
dennismdejong:fix/371-403-energy-transient-errors
Open

fix: keep last data during transient 5xx/429 Panasonic errors#481
dennismdejong wants to merge 1 commit into
sockless-coding:masterfrom
dennismdejong:fix/371-403-energy-transient-errors

Conversation

@dennismdejong

Copy link
Copy Markdown

Closes #371\nCloses #403\n\nRoot cause: on transient 504/429 from the Panasonic energy endpoint, the coordinators raised UpdateFailed, bouncing energy/temperature entities to unavailable after every restart or outage.\n\nFix: classify RATE_LIMIT/SERVER_ERROR as transient — keep the last good device/energy value, back off, and retry instead of clearing availability. Persistent errors (auth, client) still raise UpdateFailed.\n\nVerification: compile-only (no HA test harness in this repo).

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.

Energy sensors and outside temperature not available after restart

1 participant