Bizarre Error Message on Tuya integration

This error message seems to pop up quite frequently. Not sure if this is the official Tuya integration or the custom Make-All-Tuya-Local component.

2024-02-18 10:33:32.767 ERROR (Thread-940 (_thread_main)) [tuya_sharing] on message error = 11
2024-02-18 11:03:31.734 ERROR (Thread-941 (_thread_main)) [tuya_sharing] on message error = 108
2024-02-18 11:13:31.095 ERROR (Thread-941 (_thread_main)) [tuya_sharing] on message error = 108
2024-02-18 11:43:28.953 ERROR (Thread-941 (_thread_main)) [tuya_sharing] on message error = 108
2024-02-18 11:53:28.255 ERROR (Thread-941 (_thread_main)) [tuya_sharing] on message error = 108

I’ve searched for the error message online and can’t find any reference to it anywhere.

Is anyone able to shed any light on it at all?

Did you solve this problem?

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.

Hi. The problem is here:
in /usr/local/lib/python3.13/site-packages/tuya_sharing/manager.py:

    @abstractclassmethod                                                
    def update_device(self, device: CustomerDevice):       
        """Update device info.                                                      
        Args:                                                                                                                 
            device(CustomerDevice): updated device info                                
        """                                                                                               
        pass      

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)

I’m trying to know more about this code…