Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mrrstux
Copy link
Contributor

@mrrstux mrrstux commented Aug 12, 2025

Fixes #1645

When configuring an attribute with different ZCLAttributeDef.type and ZCLAttributeDef.zcl_type, reporting configuration would use zcl_type.

Fixes also existing Metering cluster attributes zcl_type value types (from DataType to DataTypeId).

@codecov
Copy link

codecov bot commented Aug 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.29%. Comparing base (8c3f80a) to head (9005c59).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1650   +/-   ##
=======================================
  Coverage   99.29%   99.29%           
=======================================
  Files          57       57           
  Lines       11638    11638           
=======================================
  Hits        11556    11556           
  Misses         82       82           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@puddly puddly self-requested a review August 12, 2025 19:58
Copy link
Collaborator

@puddly puddly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome catch, thank you!

@puddly puddly merged commit 88c3ba6 into zigpy:dev Aug 12, 2025
14 checks passed
@mrrstux mrrstux deleted the fix-zcl-type-on-reporting-configuration branch August 12, 2025 21:31
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.

Quirk v2 attribute reporting configuration ignores zcl_type

2 participants