Converting a Beken CB2S-chip equipped Tuya WL-SW01 30A to ESPhome

Hello everybody

I thought it will be another easy Tuya-convert flash, but I was wrong. I thought I have this WL-SW01_10, but instead I have the 30A version, called WL-SW01. No tutorials, no documentation. It looks like it can be possible to flash tasmota-lite to it with OpenBeken, but from there on I would have to find out the pins which I don’t have a clue of.
Does anybody have ever used these switches?

Thanks for posting the teardown for this.
There’s tuya cloudcutter for ota flashing assuming the stock firmware isn’t patched yet

You can solder the required pins on the bottom of CB2S