Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retries to delegate.py #1619

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

imbaczek
Copy link

Motivation:

Helps when e.g. zigbee connection is flaky or the TRV itself has a difficult time at the moment.

Changes:

  • added a retry module with an async_retry decorator
  • armed delegate adapter with retries

Related issue (check one):

Checklist (check one):

  • I did not change any code (e.g. documentation changes)
  • The code change is tested and works locally.

Test-Hardware list (for code changes)

HA Version: 2025.3.3
Zigbee2MQTT Version: -
TRV Hardware: Sonoff TRVZB sw_build_id 1.3.0

New device mappings

  • I avoided any changes to other device mappings
  • There are no changes in climate.py

Helps when e.g. zigbee connection is flaky or the TRV itself has a
difficult time at the moment.
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.7.0] Sonoff TRV fails on startup: Task exception was never retrieved (None)
1 participant