Tuya Zigbee Wall Switch (aka. Lonsonho or Bandi)

I think the device with EF00 is old version and its not stable, some tuya manufacturer released newer version that use 0006 inClusters list, i got the EU/UK version, but for that i worked on this driver :
Driver for Tuya Plug with 2 USBs ports
changing the product name and model, and corrected the inclusters and outclusters, and added 4th child, the switchs i am using is 1/2/3/4 gangs,
but the problem is, this driver code creating 4 childs for any switch ( can someone help?)
I will attach switches photos and the driver code



Tuya 2 gang switch data:

ID: 5396

Manufacturer: _TZ3000_utcmqixy

Product Name:

Model Number: TS0012

deviceTypeId: 249

more...

manufacturer : _TZ3000_utcmqixy

idAsInt : 1

inClusters : 0000,0004,0005,0006

endpointId : 01

profileId : 0104

application : 42

outClusters : 0019,000A

initialized : true

model : TS0012

stage : 4

manufacturer :

idAsInt : 2

inClusters : 0004,0005,0006

endpointId : 02

profileId : 0104

application :

outClusters :

initialized : true

model :

stage : 4

1 Like