Great job, i’ve successfully backported it to 3.2 and run in demoapp. Found my ESPHome-ified plug like a charm.
I’ll polish it up a bit, test on my real system, and release the build if you don’t mind.
The repo is here: GitHub - Sonic-Amiga/openhab-esphome at openhab-3