Switch Zigbee Tuya TS011F with ZHA turns off only after a few seconds

I also have this problem with 10 of my latest switches. The previous ones were TS011F_plug_3 and work fine, but the latest I received are TS011F_plug_1. After seeing the problem, I unpaired and added them to a Tuya Zigbee gateway to see if the problems occur in Tuya Smart Life, and they do! Exactly the same behaviour of randomly switching off. The affected switches have a firmware of 1.0.10 visible in the Tuya app, (in Z2M reported as TS011F_plug_1).
The plug_3 plugs that work for me seem to be FW v1.0.4 in Tuya app.