Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.2k stars 1.6k forks source link

Update Home Assistant entity ID is missing #22384

Closed rhug123 closed 2 weeks ago

rhug123 commented 2 weeks ago

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

prokudin07 commented 2 weeks ago

+1 in mobile version absent "Rename device"

image

in browser - ok

image
bilfive commented 2 weeks ago

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
harvindhillon commented 2 weeks ago

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 commented 2 weeks ago

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

FWeinb commented 2 weeks ago

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

Korvenwin commented 2 weeks ago

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

stefangries commented 2 weeks ago

@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

Koenkk commented 2 weeks ago

Fixed by @danroc , many thanks!

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