-
Notifications
You must be signed in to change notification settings - Fork 703
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
Adapt v2 quirks to new zigpy API #3280
Adapt v2 quirks to new zigpy API #3280
Conversation
Whelp I didn't see your comment... and I released as a minor... |
Here is the PR to the ZHA lib if you wanna bump this in there once everything is updated / released |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #3280 +/- ##
=======================================
Coverage 88.18% 88.18%
=======================================
Files 301 301
Lines 9412 9412
=======================================
Hits 8300 8300
Misses 1112 1112 ☔ View full report in Codecov by Sentry. |
* Use new zigpy quirks v2 API * Bump requirements to zigpy 0.65.2
Proposed change
The latest zigpy version changes the quirks v2 API to use
QuirkBuilder
instead ofadd_to_registry_v2
.A call to
quirkBuilder.add_to_registry()
at the end is also required now.This PR adapts the three existing v2 quirks to the new API.
The zigpy requirement is also bumped to 0.65.2.
Additional information
Related zigpy PR:
Checklist
pre-commit
checks pass / the code has been formatted using Black