-
Notifications
You must be signed in to change notification settings - Fork 23
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
Support configuration of entity reporting for V2 quirks #254
base: dev
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #254 +/- ##
=======================================
Coverage 96.33% 96.33%
=======================================
Files 61 61
Lines 9388 9395 +7
=======================================
+ Hits 9044 9051 +7
Misses 344 344 ☔ View full report in Codecov by Sentry. |
needs a rebase |
208b149
to
cb75788
Compare
@dmulcahey I've just force pushed a rebase. The tests will continue to fail however, as this patch has dependeny on the zigpy PR, so this will require a further rebase once that merges. |
My bad.. sorry for the unnecessary ping!! |
Note: this requires zigpy export for exposing this via V2 quirk API.
cb75788
to
b9267d7
Compare
I've just rebased against zigpy dependency update. All tests should now be passing. |
Proposed change
This change hooks up the V2 Quirk
report_config
option to the cluster handler created for V2 quirks. It also 'claims' the cluster, which is required for reporting and binding hooks to work upon configuration of the cluster and previously wasn't being done for V2 Quirk clusters.Additional information
Please refer to zigpy/zigpy#1490 for more information on the motivation behind this patch. This patch will need to be merged after that has been merged and zigpy dependency has been bumped.