Having a problem with 'Tuya' it looks like

Every few days, my HA on my Raspberry Pi fails with the following error:

image

If I reboot the Pi, everything works fine for an hour, or a day, or a couple days… and then it reverts back to giving this error whenever I try to toggle a Tuya based switch. I can log into my Tuya account and toggle that device with no problems, but HA will not function until I reboot it.

Can anyone give me some idea where to chase down this error?

Thanx in advance.
Jim