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

Support configuration of entity reporting for V2 quirks #254

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

benbancroft
Copy link
Contributor

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.

Screenshot 2024-10-21 111956

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.

Note: this requires zigpy export for exposing this via V2 quirk API.
Copy link

codecov bot commented Oct 21, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 96.28%. Comparing base (2cfd334) to head (65319c6).

Files with missing lines Patch % Lines
zha/application/discovery.py 40.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #254      +/-   ##
==========================================
- Coverage   96.31%   96.28%   -0.03%     
==========================================
  Files          61       61              
  Lines        9366     9372       +6     
==========================================
+ Hits         9021     9024       +3     
- Misses        345      348       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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 participant