Skip to content

Fix reporting status configuration for colliding attribute IDs#710

Draft
TheJulianJES wants to merge 3 commits intozigpy:devfrom
TheJulianJES:tjj/reporting_status_changes
Draft

Fix reporting status configuration for colliding attribute IDs#710
TheJulianJES wants to merge 3 commits intozigpy:devfrom
TheJulianJES:tjj/reporting_status_changes

Conversation

@TheJulianJES
Copy link
Contributor

Proposed change

This PR fixes an issue where _configure_reporting_status was raising an issue that multiple attribute definitions where found for the same ID (but with different manufacturer codes) if attribute reporting was attempted for an attribute with a colliding ID.

This is based on top of zigpy changes, where configure_reporting_multiple now returns a dict[ZCLAttributeDef, foundation.Status] (instead of a list with ConfigureReportingResponseRecord):

With those changes, we can correctly identify the attributes that reporting was set up for (or not).

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