Skip to content

[ZHA] Reading attributes in chunk during pairing breaks for manufacturer attrs #51

Closed

Description

@TheJulianJES

This logic where we read attributes during pairing in chunks is flawed in multiple ways (regarding manufacturer code usage): https://github.com/zigpy/zha/blob/b17254948690f740a2b795d28dfad5304ad98291/zha/zigbee/cluster_handlers/__init__.py#L587-L590

  • some attributes in the attributes list can be standard ZCL ones, other can be manufacturer specific: these need to be read separately!
  • the cluster_id >= 0xFC00 isn't great. Possibly use _is_manuf_specific property from CustomClusters?

This needs to be reworked.

Activity

  1. moved this to Later in ZHAon Oct 22, 2025
  2. zigpy-review-bot commented on Oct 10, 2026

    @zigpy-review-bot
    Collaborator

    Fixed: zigpy/zha#657 removed the chunked attribute read (including its cluster_id >= 0xFC00 manufacturer heuristic) from the cluster handlers. ZHA now uses Cluster.read_attributes, which since zigpy/zigpy#1719 (zigpy 0.91.0) groups reads by manufacturer code before chunking them.

    Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    None yet

    Size

    None yet

    Area

    ZHA

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions