I’ve been using Tuya lights for a while now, and they are not modded/flashed/whatever. So I’m using the default Tuya integration.
What’s bugging me is the fact that the brightness in HA is not matching the actual brightness. Actually, anything below brightness 28 won’t turn on the light at all.
This been adressed and fixed in the Tuya Custom integration https://github.com/ollo69/ha_tuya_custom (which was created when the Tuya status would switch back to the old state). The state switch has been corrected in the original Tuya integration, but the brightness mismatch was not.