Mqtt auto discovery doesn't work

The prefix is homeassistant for the mqtt integration.

Zigbee2mqtt sets it own prefix in its z2m/configuration.yaml

Try a host reboot too.


You can use the last post(post 13) in this link to test a discovery message with mqtt-Explorer (when the prefix is homeassistant)

https://community.home-assistant.io/t/mqtt-discovery-allow-setting-the-entity-id-via-disovery-message/203186/13?u=hasqt