Adding Tuya integration into config makes home assistant unable to connect

So I had set up a bunch of Tuya bulbs in my house using the smart_life platform and everything was working great but I had to set up my home assistant from scratch today. Now when I try to add the Tuya integration to my config exactly like I had it working before, home assistant refuses to connect. Any ideas why this is happening or how to fix it? The only thing the logs tell me is
“WARNING (MainThread) [homeassistant.setup] Setup of tuya is taking over 10 seconds.”