Just wanted to thank everyone for all the valuable information shared in this thread. It made it possible for me to convert my Leroy Merlin INSPIRE EMINGO ceiling lamp from its original RF controller to an ESP32 running ESPHome (using either Thread or Wi-Fi).
I’ve documented the full process here, in case it’s useful to anyone: