Help with Tuya 0xEF00 switch driver

I bought this Zigbee switches

[ZigBee Wall Touch Smart Light Switch No Capacitor Needed Neutral Wire/No Neutral Wire Smart Life/Tuya 2/3 Way Muilti-Control Association Hub Required 2 Gang Black – Moes]

but without succes to work in HE. I sniffered comunnication with Tuya Hub.

See this

fingerprint model:"TS0601", manufacturer:"_TZE200_amp6tsvy", profileId:"0104", endpointId:"01", inClusters:"0000,0004,0005,EF00", outClusters:"0019,000A", application:"42", deviceJoinName: "Moes 1-Gang Switch"

fingerprint model:"TS0601", manufacturer:"_TZE200_g1ib5ldv", profileId:"0104", endpointId:"01", inClusters:"0000,0004,0005,EF00", outClusters:"0019,000A", application:"42", deviceJoinName: "Moes 2-Gang Switch"

Can anyone help with drivers for this weird EF00 cluster? I didnt find anything usefull.

Hello!
I was able to make work a Moes 1 Gang Switch with:

fingerprint model:"TS0601", manufacturer:"_TZE200_amp6tsvy", profileId:"0104", endpointId:"01", inClusters:"0000,0004,0005,EF00", outClusters:"0019,000A", application:"42"

The generic Zigbee Switch Driver did not worked for me, then tried the @markus expanded driver : Zigbee - Generic Switch (with Presence)
https://raw.githubusercontent.com/markus-li/Hubitat/development/drivers/expanded/zigbee-generic-switch-expanded.groovy

This gave me some errors related to the groovy random function , and did not worked as expected: after solving the error, I could turn on /off the switch from Hubitat but manual operation on the device did not reflected on the dashboard properly, especially the 'On' status.

Noticed from the logs that 'On' event update was received but also the switch reported additional status payloads with off command and another unknown command which turned off the dashboard tile after the on command event received from the manual switch operation .

Your sniffer was very useful to note that genuine 'On/Off' commands reported from the switch to the gateway have '01' on the forth payload data!!, so implemented a workarround which is working for me, modifying the code of @markus ( all credits to markus!, maybe he can do some adjustments to his code with a better solution for this case).

The modified driver code is on the link bellow:
https://github.com/rbertolig/Hubitat/blob/release/drivers/expanded/zigbee-generic-switch-expanded.groovy

Check this:

https://github.com/martinkura-svk/Hubitat/blob/main/Moes%20ZigBee%20Wall%20Switch

Need some tweaks but everything is working now

Hi!
Thanks for the driver!, installed and setup the device using it, but could not make it work.

I can turn on/off from the device page, but cannot operate the device from the dashboard, neither see the device status is updated on dashboard after the manual operation on the switch side.

Initialized the device manually with the corresponding button on the device page but error and behaviour remains.

Here is some part of the log:

dev:82021-05-25 10:50:04.823 pm warn Child device 8-null not found. Initialise parent device first

dev:82021-05-25 10:50:04.418 pm info Turn all switches OFF
dev:82021-05-25 10:36:58.396 pm warn Child device 8-null not found. Initialise parent device first
dev:82021-05-25 10:36:07.496 pm info Turn all switches ON
dev:82021-05-25 10:35:25.867 pm debug Refreshing...
dev:82021-05-25 10:35:25.843 pm debug This device have only: 1 button, Child devices not needed.
dev:82021-05-25 10:35:25.842 pm debug Parent createChildDevices
dev:82021-05-25 10:35:25.840 pm info model: _TZE200_amp6tsvy buttons: 1
dev:82021-05-25 10:35:25.838 pm debug Parent deleteChildren
dev:82021-05-25 10:35:25.837 pm debug Parent setupChildDevices
dev:82021-05-25 10:35:25.835 pm info Initializing...

Are you tried latest 1.31 driver? Yesterday was driver updated and fixed this issue.

Download the Hubitat app