New Zigbee Component, any way to rename devices

@russell Native Zigbee in HA! Awesome! Thanks for this! No zigbee support was initially a limiting factor for me moving from openhab to home assistant, but obviously I dove into HA anyway. This just means I can get rid of my hue hub and pull my zigbee sensors out of the box they’ve been living in.

I have the supported zha device connected and working, currently communicating with a single iris motion sensor and single CREE bulb. Is there anyway to rename the devices as they show up on the entities page? For example the connected CREE bulb shows on the entities page as:

light.cree_____________________________connected_a19_60w_equivalent____fe01a32w_10

anyway to rename that to something a little better like:

light.cree_basement

Changing the friendly name isn’t an issue but using the generated name in automations might get a little wonky!

3 Likes

I definitely want to make the automatic name strip spaces (the Cree bulbs are space-padded to the full width of the field allowed in ZigBee), which will get rid of all of the underscores in the entity ID.

For friendly entity IDs, it should be easy to do. There’s already a configuration point based on the IEEE address and endpoint ID of each device. I’ll take a look at it if I remember in the next few days.

Thanks for the information!! Would be greatly appreciated and I understand you are probably getting a lot of additional requests, so whenever you get a chance.

ditto to lordsiris first post.
its a bit more cumbersome with google home integration asking to “turn on CREE” as opposed to
“turn on light”.
the response being “im turning on cree_connecteda19_60w_equivalent_”…
thank for the great work!

Here is the current entity id construction:

        self.entity_id = '%s.%s_%s_%s_%s' % (
            self._domain,
            slugify(manufacturer),
            slugify(model),
            ieeetail,
            endpoint.endpoint_id,

I’m assuming at some point a mapping will be added to user defined names.

Ok, this is a great component. Lets me keep a gaggle of smart things motion and contact sensors I’ve collected. Thanks for all your work on it russell!

If you do get the time to tackle it, the ability to rename devices would be amazing!

Thanks again!

Did anybody figure out how to rename zigbee devices? Or can somebody point me to the relevant parts of the code?

I created an issue in bellows for this feature. We’ll see where that goes:

They pretty much said that it’s home assistant’s problem to solve and closed the issue :-\

Was there an update to this?

1 Like