Cannot get local Tuya to automatically discover devices

I have installed local Tuya, I have the keys/ID’s ready to go but the integration will not auto discover any devices. They are connected currently through the Cloud based Tuya integration would that be why?