Zigbee2mqtt entities not controllable/visible except via the addon 'devices' page

I have been happily using Zigbee2Mqtt for years but recently had to repair everything, did a bit of upgrading of Home Assistant itself and am now using EMQX instead of Mosquitto…

However the MQTT communication itself doesn’t seem to be the issue, as when monitoring a topic the messages back and forth are working, it’s just getting the devices to show up in Home Assistant’s device list…used to be they were all there…

As an example of a simple device I used to have setup in HA:

    - name: "smartplug"
      state_topic: "zigbee2mqtt/smartplug"
      availability_topic: "zigbee2mqtt/bridge/state"
      payload_off: "OFF"
      payload_on: "ON"
      state_value_template: "{{ value_json.state }}"
      command_topic: "zigbee2mqtt/smartplug/set"

This is a Lidl HG06337

Any ideas why this would now not want to cooperate like it always used to?

I also have some Xiaomi RTCGQ01LM, it used to be I think that that the zigbee2mqtt page had YAML code snippets for pasting into the config yaml for how to integrate them, but this is now gone?

I use

    - name: "Kitchen"
      state_topic: "zigbee2mqtt/0x00158d0002275601"
      availability_topic: "zigbee2mqtt/bridge/state"
      payload_on: true
      payload_off: false
      value_template: "{{ value_json.occupancy }}"
      device_class: "motion"

Are these now wrong?

Thank you all!!

Hi daneboom,

If you jumped a bunch of versions of Home Assistant and I would assume Z2M you should expect a bunch of things will look different. There’s a major release monthly and minor ones about every week between on HA, that’s a lot of change.

How many months did you skip?

I don’t mind things looking different, and in fact they largely look the same, basically my hand was forced as the version of zigbee2mqtt I was using became unavailable via the addon store, and I had to remove it and start afresh, then decided to repair all my devices…

But what’s weird is my devices are in the zigbee2mqtt devices list but they just won’t appear in the Home Assistant devices list (even though they’re still in my manual MQTT devices list).

What I’m wondering is if I remove them from the manual MQTT configured devices YAML, will I be prompted to add them - would they get ‘detected’ by Home Assistant?

Screenshot 2024-09-30 at 20.56.49
Screenshot 2024-09-30 at 20.56.32

As an example, this is the MQTT message and the MQTT yaml configuration “clickaa” is underneath MQTT:
sensor:

¯\(ツ)

The answer was to re-enable automatic adding of mqtt discovered entities. Nothing else worked. I don’t know if this is by design?
Anyway, resolved the issue