zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Update Home Assistant entity ID is missing

Open rhug123 opened this issue 9 months ago • 7 comments

What happened?

When editing a name of a device, in the previous version it included a toggle to change the entity id as well.

What did you expect to happen?

The toggle to be included when renaming a device

How to reproduce it (minimal and precise)

Go to rename a device and there should be no toggle. See link below for example. https://community.home-assistant.io/t/force-entity-id-update-for-discovered-entities/227167

Zigbee2MQTT version

1.37.0

Adapter firmware version

0

Adapter

Sonoff Zigbee Stick E

Setup

Homeassistant in VM

Debug log

No response

rhug123 avatar May 01 '24 22:05 rhug123

+1 in mobile version absent "Rename device" image in browser - ok image

prokudin07 avatar May 01 '24 22:05 prokudin07

The same problem. I have updated one instance.. And one not. At 1.36.1 this: 2024-05-02_023753 and now at 1.37.0 only this: 2024-05-02_023815

bilfive avatar May 01 '24 23:05 bilfive

I just did a quick test. I added a new device and renamed it. I see that the name in HA is updated as well automatically. I renamed it again after and it updated as well.

So maybe this is now the default behaviour and kind of makes sense to me :) I like it being someone who forgets to set it

harvindhillon avatar May 02 '24 09:05 harvindhillon

Okay silly me, all it does it renames the device, but not the entities, apologies, yes this is an annoying bug now 🙍‍♂️

harvindhillon avatar May 02 '24 10:05 harvindhillon

This regression was already fixed in https://github.com/nurikk/zigbee2mqtt-frontend/pull/2010. Will probably be included in the next release.

FWeinb avatar May 02 '24 10:05 FWeinb

@FWeinb until the next release, is there any other way to setup the name in Home Assitant?

Korvenwin avatar May 02 '24 16:05 Korvenwin

@FWeinb You can manually publish a message via MQTT to trigger a rename: https://www.zigbee2mqtt.io/guide/usage/mqtt_topics_and_messages.html#zigbee2mqtt-bridge-request-device-rename

stefangries avatar May 02 '24 17:05 stefangries

Fixed by @danroc , many thanks!

Changes will be available in the dev branch in a few hours from now.

Koenkk avatar May 02 '24 19:05 Koenkk