Zigbee2MQTT paired devices not added in HA

I got HO, MQTT and Zigbee2MQTT talking together (I think), I managed to pair a water leak sensor to z2m, in home assistant mqtt integration I see 1 device which is the z2m device, and if in that device I go to mqtt info ->zigbee2mqtt/bridge/info I can see the name I gave the sensor devices:
‘0xa4c13826a86696c8’:
friendly_name: leak 01

But I cant get HA to add it to my devices, from what I can tell all 3 are talking together and HA is receiving the info of the devices paired to z2m, but its no adding them, is it a topic problem? how can I fix it?

z2m conf

mqtt:
  server: mqtt://127.0.0.1:1883
  discovery_topic: homeassistant
  enabled: false
  experimental_event_entities: false
  keepalive: 60
  legacy_action_sensor: false
  reject_unauthorized: false
  status_topic: homeassistant/status
  version: 4
serial:
  port: /dev/ttyUSB0
  adapter: ember
frontend:
  enabled: true
  port: 8090
  host: 0.0.0.0
version: 4
devices:
  '0xa4c13826a86696c8':

Mosquitto conf

allow_anonymous true

# Configure listener to allow remote access
listener 1883
bind_address 0.0.0.0  # Allows connections from any network interface

# Optional: For WebSocket support
listener 9001
protocol websockets

Did you enable home-assistant support ?

Thanks fot he reply, yes I did, but its still not working.
The topics in mine show as homeassistant and homeassistant/status

What versions of HA and Zigbee2MQTT are you running ?

Tha was the problem!!! HA version was too old 2024.5 and it had to be at least 2024.9. Updated HA and its working.

Thank!!!