Skip to content

Handle Webasto rate limit responses#293

Merged
MTrab merged 1 commit into
mainfrom
fix/better-rate-limit-handling
May 20, 2026
Merged

Handle Webasto rate limit responses#293
MTrab merged 1 commit into
mainfrom
fix/better-rate-limit-handling

Conversation

@MTrab
Copy link
Copy Markdown
Owner

@MTrab MTrab commented May 20, 2026

Summary

  • Handle TooManyRequestsException during setup, config/options flows, and coordinator updates
  • Surface a dedicated rate-limit form error with translations
  • Bump pywebasto to 2.0.4 and keep Lovelace constant imports aligned with Home Assistant exports
  • Add regression tests for rate-limit handling paths

Test strategy

  • ruff check custom_components/webastoconnect tests
  • pytest

Known limitations

  • No physical Webasto hardware validation was performed; behavior is covered with mocks.

Required configuration changes

  • None

@github-actions github-actions Bot added bug Something isn't working patch Patch version release labels May 20, 2026
@MTrab MTrab merged commit 8f5468c into main May 20, 2026
5 checks passed
@MTrab MTrab deleted the fix/better-rate-limit-handling branch May 20, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working patch Patch version release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant