You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, entities created for Zigbee groups do not use the Zigbee group name by default.
For a light group, they'll instead always default to "Light group" which is not expected.
Part of the text below comes from PR #37:
This might be because HA expects the _attr_name attribute for a custom name, but the ZHA library never sets that. It uses _name and exposes it as the name property.
An example of old/new entity registry entries follows below.
Entity registry entries
I've created a ZHA group called "ZHA Group ID 3". The entity in the registry is regenerated on the current HA ZHA integration and afterwards with the ZHA library. A custom name is not set (as seen by name = null), so the original_name is used.
By default, this should be the ZHA group name, so "ZHA Group ID 3". It's also used for the entity id suffix then.
With the ZHA library, this always seems to be "Light group" for now (also resulting in the less descriptive entity id). That should be fixed in a future PR.
(issue created for tracking purposes)
Issue
Currently, entities created for Zigbee groups do not use the Zigbee group name by default.
For a light group, they'll instead always default to "Light group" which is not expected.
Part of the text below comes from PR #37:
This might be because HA expects the
_attr_name
attribute for a custom name, but the ZHA library never sets that. It uses_name
and exposes it as thename
property.An example of old/new entity registry entries follows below.
Entity registry entries
I've created a ZHA group called "ZHA Group ID 3". The entity in the registry is regenerated on the current HA ZHA integration and afterwards with the ZHA library. A custom name is not set (as seen by
name = null
), so theoriginal_name
is used.By default, this should be the ZHA group name, so "ZHA Group ID 3". It's also used for the entity id suffix then.
With the ZHA library, this always seems to be "Light group" for now (also resulting in the less descriptive entity id). That should be fixed in a future PR.
Current HA ZHA (good)
Generated with ZHA lib (unique id is the same, name is not)
The text was updated successfully, but these errors were encountered: