How do you do such wizardry @kkossev ?!
Your new driver works - on/off operates correctly. Fantastic stuff! - I'll be fascinated to have a look at your driver code later
No change to the (empty) data section and the driver reports that energy/power monitoring is supported (which I don't think is - it doesn't list the Electrical Measurement cluster 0B04) but it's a working plug.
Debug log from an off and on command:
dev:572023-01-06 20:33:00.269traceRound Plug #5 sendZigbeeCommands : [he raw 0x20C2 1 0x0D 0x0B04 {10 00 00 0B 05 05 05 08 05}, delay 200]
dev:572023-01-06 20:33:00.211debugRound Plug #5 polling all 0x0B04 attributes
dev:572023-01-06 20:33:00.209debugRound Plug #5 polling.. refreshAll is false
dev:572023-01-06 20:33:00.206debugRound Plug #5 autoPoll()
dev:572023-01-06 20:32:47.416debugRound Plug #5 pollPower()..
dev:572023-01-06 20:32:41.563debugRound Plug #5 Ignored duplicated switch event for model unknown
dev:572023-01-06 20:32:41.562debugRound Plug #5 Event enter: [name:switch, value:on]
dev:572023-01-06 20:32:41.557debugRound Plug #5 parse: description is catchall: 0104 0006 01 01 0040 00 20C2 00 00 0000 0B 01 0100
dev:572023-01-06 20:32:41.479infoRound Plug #5 Round Plug #5 Round Plug #5 was turned on [digital]
dev:572023-01-06 20:32:41.388debugRound Plug #5 Switch state changed from off to on
dev:572023-01-06 20:32:41.386debugRound Plug #5 Event enter: [name:switch, value:on]
dev:572023-01-06 20:32:41.381debugRound Plug #5 parse: description is read attr - raw: 20C20100060800001001, dni: 20C2, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 01
dev:572023-01-06 20:32:41.338traceRound Plug #5 on() sending [he cmd 0x20C2 0x01 0x0006 1 {}, delay 200]
dev:572023-01-06 20:32:41.299warnRound Plug #5 isHEProblematic() : sending off() : [he cmd 0x20C2 0x01 0x0006 1 {}, delay 200]
dev:572023-01-06 20:32:41.297debugRound Plug #5 Switching Round Plug #5 On
dev:572023-01-06 20:32:38.760debugRound Plug #5 Ignored duplicated switch event for model unknown
dev:572023-01-06 20:32:38.758debugRound Plug #5 Event enter: [name:switch, value:off]
dev:572023-01-06 20:32:38.752debugRound Plug #5 parse: description is catchall: 0104 0006 01 01 0040 00 20C2 00 00 0000 0B 01 0000
dev:572023-01-06 20:32:38.678infoRound Plug #5 Round Plug #5 Round Plug #5 was turned off [digital]
dev:572023-01-06 20:32:38.597debugRound Plug #5 Switch state changed from on to off
dev:572023-01-06 20:32:38.596debugRound Plug #5 Event enter: [name:switch, value:off]
dev:572023-01-06 20:32:38.589debugRound Plug #5 parse: description is read attr - raw: 20C20100060800001000, dni: 20C2, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 00
dev:572023-01-06 20:32:38.526traceRound Plug #5 off() sending [he cmd 0x20C2 0x01 0x0006 0 {}, delay 200]
dev:572023-01-06 20:32:38.470warnRound Plug #5 isHEProblematic() : sending off() : [he cmd 0x20C2 0x01 0x0006 0 {}, delay 200]
dev:572023-01-06 20:32:38.464debugRound Plug #5 Switching Round Plug #5 Off