Tuya Convert worked as of 2021-11-06 (ordered on 2021-11-03). Updated template to include the second button which is an Inverted Analog Button. The TYWE2S pins are completely used by this device. Inverted SEL pin to get properly functioning power monitoring.
***
Received these in a 2 pack. flashing with OTA was no issue.
I quickly figured out most of the IO.
* GPIO1 = Left Socket Button * GPIO3 = Left Socket Relay * GPIO12 = Right Socket Relay * GPIO14 = Red LED for both buttons
The "night light" seems to be tied to the light sensor only and cannot be turned off. This makes the plug a no-go for me.
Also, I could not figure out the right socket button. I ended up destroying one of the two plugs to see what was inside.
There are 2 circuit boards. One with the Wifi and esp module and another with the buttons and the night lights. On the button board, the trace for the right button is purposely notched for that button so that it doesn't connect to the header leading to the seco