Use this link:
https://raw.githubusercontent.com/kkossev/Hubitat/development/Drivers/Tuya%20TS004F/TS004F.groovy
... or within HE driver editor, locate the driver code and click on the Import button.
I will correct the link in the first post, it was pointing to the 'release' HPM version that I update less often (after a confirmation that the latest code changes are working OK).