I got the fan working including speed, but it is a massive pain and you need to create “tap-to-run” scenes in Tuya, then setup webcore pistons. I posted more on how to do it at this link. Smartlife WiFi Fan Control
The integration definitely has room for improvement.