Z2m (zigbee2mqtt) - 2.5.1+ No longer sends auto discovery config message

After upgrading yesterday to 2.5.1(-1?), I notice that the add-on no longer publishes device auto discovery messages which leads to all z2m devices as Unavailable and when viewing “More Info”, HASS advises to delete it because the MQTT integration is no longer supplying the device config.

Here is a link to a post I made on an issue in z2m repo. If you are also having this issue, maybe like the issue so it gets traction.

Here is a screenshot showing that z2m is receiving data from those devices and also shows z2m is not sending auto discovery messages to the hass config topic.

Could be related to No discovery messages are published to HomeAssistant after Birth message 'online' recieved to homeassistant/status · Issue #27458 · Koenkk/zigbee2mqtt · GitHub

Im getting a little farther in debugging the issue. It seems Z2M set HASS MQTT auto discovery off, but when I enable and ‘Save’ it throws an error and doesnt enable auto discovery:

When navigating to the HASS settings page

It’s turned off:

Enabled and Save

After several attempts at enabling, it finally enabled and is now ending discovery messages. No idea what the underlying issue is.