Tuya-Convert might not be possible for this device if the manufacturer started using newest Tuya firmware since this template was published (2020-04-02).
For more accurate energy consumption measurements this device requires power monitoring calibration.
LED1 is wired directly to Relay1. LED1i assigned to GPIO1 because LED2i won’t work without an assigned LED1. By default relay LEDs are red. GPIO2 lights up a blue LED.