Adding support for Tuya ZS3L / TZ3000 / TS0043 / TS0042 / TS0041 to Zigbee Bindings

Merry Christmas / Fröhliche Weihnachten!

Here’s a patch (for v2.5.10) that adds support for all Tuya switches (1, 2, 3, and 4 buttons), including power configuration (battery voltage / level / alarm):
0001-Add-Tuya-button-support.patch.txt (26.4 KB)

I think this is close to the final version, but it requires some more testing.
I’ve had some issues pairing the switches, but once they were paired, they have been working well so far :slight_smile:
Sometimes, it takes a couple of seconds until the event is reaching the coordinator, especially when the switch is not in direct reach of the coordinator and the packet has to travel a few hops.
Not sure why, other devices don’t seem to have that delay…

Anyway, @Oggerschummer, @Sunshine, please test and send feedback.
@chris, if you have time, please take a look and give feedback on the implementation / code.

Thanks,
Daniel