Up to this morning everything was working well (HA 2025.2.3) but then I updated both home assistant core to 2025.3.1 and zigbee2mqtt to 2.1.3. After the update it seemed to work for a while and after an hour or so, it broke as shown.
Any ideas? I already tried to rename one entity (portal carrer) and it appears as not detected and reconnect another one (portal Garatge) with the same result
Yep, I suspect that would cause the issue. You essentially deleted all discovery messages from mqtt so now HA doesn’t know about your devices.
Start with a simple reboot of your host machine. If that doesn’t work, try the reconfigure button for 1 device in Z2M and see if it shows up in HA. Repeat for other devices if it works.
If it doesn’t work, I’m not sure how to get the discovery messages republished, sorry.
A thing worth noting if Zigbee-devices fall apart on the HA side, but still works fine in Z2M: Z2M don’t republish the homeassistant topic defining all the devices in HA after initial startup.
If you were to restart your MQTT-broker, without also restarting Z2M afterwards, you’ll probably end up in the situation you’re describing in this thread.
It seems that rebooting the system (not restarting home assistant only) fixed most of the problems. I hade to reasign the devices locations but that was prity much it. Thanks!
If it helped you, please consider marking my previous post with the solution tag. That way others with the same issue will be able to identify the appropriate fix