zigbee2mqtt
zigbee2mqtt copied to clipboard
Update Home Assistant entity ID is missing
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
+1
in mobile version absent "Rename device"
in browser - ok
The same problem. I have updated one instance.. And one not. At 1.36.1 this:
and now at 1.37.0 only this:
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
Okay silly me, all it does it renames the device, but not the entities, apologies, yes this is an annoying bug now 🙍♂️
This regression was already fixed in https://github.com/nurikk/zigbee2mqtt-frontend/pull/2010. Will probably be included in the next release.
@FWeinb until the next release, is there any other way to setup the name in Home Assitant?
@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
Fixed by @danroc , many thanks!
Changes will be available in the dev branch in a few hours from now.