ESPHome configuration for Gosund UP111

Does anyone have an ESPHome configuration file for a Gosund UP111. I’ve used these with Tasmota and wanted to try using with ESPHome, but have no idea about the pin usage, does anyone have one up and working?

I’m looking as a minimum to get the functional equivalent to what I get with Tasmota i.e. basic on/off functionality, plus the power usage info.

Thanks

This is what I’ve based mine on. Calibrating an ESPHome flashed power plug » Frenck.dev

Good call, the final version works a treat. Thanks.