[RELEASE] Tuya Scene Switch TS004F driver (w/ healthStatus)

Your devices are exactly the problematic type where that doesn't like battery configuration. The known negative effect is exactly as you describe it - "flash all lights" and killing battery.

The lights are flashing, because the device is restarting and leaving the Zigbee network, then joining again. This kills the batteries.

Keep the 'Default' battery reporting configuration for TZ3000_wkai4ga5. Before re-pairing to the HE hub, perform the same 'reset to factory defaults' procedure - remove the battery for 20-30 seconds, press buttons to drain any remaining voltage/energy in the controller, put the battery back and pair it again.

Observe the 'rejoinCtr' in the state variables : if the number increases, this means a problem - the device is rejoining the HE network and the batteries will deplete in no time..
image