Upgrade zigbee2mqtt and entities are not added to home assistant anymore

Hello,
I’ve just upgraded to zigbee2mqtt to version 2.6.3.
From zigbee2mqtt everything is working fine. But if I open the MQTT component I don’t see the entities I added after the upgrade…


there should be 7 devices… I’ve already tried many config changes but no luck…

from mqtt explorer I see everything looks fine.
Thanks.

I understood something: the message in the homeassistant topic looks like this:

homeassistant/light/0x804b50fffe2a4389/light/config

instead of:
homeassistant/light/my_light/config

any idea how to fix this?

I think it’s supposed to be that way. That’s the MAC address of the device, which is unique to the device and constant. That’s how HA identifies the device. doesn’t know what the light entity is called in HA.

Maybe the issue is you aren’t checking the “update Home Assistant entity ID” option when you rename the device in Z2M?

1 Like

it is supposed to be like that

1 Like

I’d start with the basics, and ensure the discovery topic matches.

In the HA MQTT Integration: Settings > Devices & Services > MQTT > Gear Icon > Configure MQTT Options > ensure discovery prefix is set to homeassistant

In the Zigbee2MQTT Dashboard: Settings > Settings tab > Home Assistant Integration tab > discovery topic set to homeassistant, and “enable home assistant integration” is checked

1 Like

I understood what the issue was… with latest zigbee2mqtt version you need at least 2024.9 core.