Closed make-all closed 3 weeks ago
Thank you! I didn't understand the message error until you explained it, I already had static IP address for my Tuya devices but I was lazy and used auto anyway. After changing to use IP address seems like the warnings are gone.
Looks like a good way to reproduce this is to set up a device, make sure it works, and then turn it off. My HA appears to become completely unresponsive every minute or so while the "sleep" is taking place (disabling the integration for that device resolves the issue)
Describe the bug When IP address is set to "Auto", the tinytuya library does device discovery in background, and sleeps until the result comes back. Since tinytuya is not async this sleep blocks the event loop.
To Reproduce
Expected behavior Ideally we should be a good HA citizen and not block other integrations or HA core from running.
Additional context