Esphome + Zigbee / Z2MQTT

Hi there.
I wonder if anybody has build some Zigbee devices with ESPhome?

So far i was able to build a config for an ESP32-C6 with zigbee (and wifi in parallel).
Getting it integrated in Z2M seems harder, as i did not find much recent info on that .

It seems a matter of defining “endpoints” on the esphome side and writing a device onfig on the z2m side if i understand right?