PaulAnnekov / tuyaha

Implements the special Tuya Home Assistant API.
Other
142 stars 106 forks source link

Capture rate limiting on auth.do endpoint and throw exception #60

Closed AlexSzlavik closed 3 years ago

AlexSzlavik commented 3 years ago

We'll be picking up the exception in the HA Tuya compenent to do proper back-off

AlexSzlavik commented 3 years ago

This is in part to fix https://github.com/home-assistant/core/issues/43840. I've also reached out to Tuya to try and make this case cleaner (return 429 with retry-after or similar)

PaulAnnekov commented 3 years ago

LGTM.