MXQ LED Nightlight Plug
Model reference: SP06
Template (old version)
Tuya-Convert might not be possible for this device since the template was added (2020-11-06). All new Tuya devices have firmware preventing flash but it is still possible to Tuya-Convert old stock devices without connecting them to the Tuya app.
Use the settings to help control the plug with one press and press/hold for night light.
Backlog switchmode1 5; setoption32 8; rule1 on switch1#state=2 do power1 TOGGLE endon on switch1#state=3 do power2 TOGGLE endon; rule 1 1