If you like, post an extract from your MQTT1 setup, perhaps for a single device, and some information about the broker you’re using (hopefully Mosquitto?) and we can help translate to MQTT2.
I tried to do a step by step to integrate a simple Sonoff Basic flashed with Tasmota - the principles are all the same though: Control Tasmota flashed devices via MQTT