This light switch is sadly not the same as Tuya T1 DS-1081**WL**. This one is labeled as DS-1081**HL**.
#### PCB
Here is the PCB Pinout and Pins to connect for flashing. GPIO 9 is mandatory to pull to GND when booting to enter flash mode. See also already existing template for [ESPC2-12 (GPIO8 is not needed on this PCB)](https://templates.blakadder.com/ESPC2-12.html). And yes two pins aren't connected on the ESP Chip. The one above GPIO9 is not connected. Also the EN Pin (right bottom corner) is not connected.
This ESPC2-12 (aka ESP8684) only has 2 MB of flash.
This means you will need a Tasmota firmware which fits in the 2 MB flash. Either compile it yourself or search on google for tasmota specials version 2m (I don't know if I'm allowed to post links to custom builds). Then flash with esp-tool or simil