Tuya-integration does not update status anymore

Very same problem for me. Motion sensors stopped working a while ago. Thought it was me who misconfigured something.

Turning lights on and off via ha works, but the polling is broken.

just want to add my 5 cents here.
I had the same situation where I could not turn off a switch because HA thought it was already off whereas it was actually on.
What I did - I removed LocalTuya integration from HACS (and rebooted HA) and it magically started working!
It may take a couple of seconds delay but - still working.
Or maybe it is only because I rebooted the HA?

its due to the reboot - when the Tuya integration starts, HA sync’s status of your devices with the cloud.

At some point, status updates will be missed, and HA will have a different state to reality.