I didn’t do anything specific to solve it, but I’m not seeing it now so I guess it’s no longer a problem. All my Tuya devices work perfectly in the make-all-tuya-local custom component.
The function wait for one parameter (CustomerDevice), but, somewhere, it is called (that routine of that integration, because the routine name is repeated for other integrations) with more than 2 parameters. I couldn’t find where. The references to
update_device is only: listener.update_device(device)