First of all, it is more useful to drop your question here NUKI Hub firmware for the ESP32
And secondly, it is not entirely clear what problem you are up against!
Do you not get the MQTT broker installed in HA? Do you not get the ESP32 paired with the broker in HA, or do you not get the Nuki entitities displayed in HA etc etc.