zigpy / zha

Zigbee Home Automation
Apache License 2.0
26 stars 25 forks source link

Query and use device values when creating entities #160

Open prairiesnpr opened 3 months ago

prairiesnpr commented 3 months ago

Many Zigbee clusters provide a Description attribute (0x001C). We should use this, if provided, for the entity name and id. In addition, the multistate cluster provides the State Text attribute (0x000E), as we add entities for this cluster, we should use the provided values for the friendly state.

tomaszduda23 commented 2 months ago

That would be great. I'm looking for way to distinguish the same clusters for https://github.com/esphome/esphome/pull/7340. In z2m I add description if present to device name.