@Legostar
You can install CLI in a PC to monitor the device and driver logs
Edge Driver or Device Handeler for a TUYA (Zemismart) Zigbee plug with energy mesurment capabilities - #18 by Mariano_Colmenarejo