Well… the only thing I can recommend you is to try the new version of tuya-mqtt:
The author @tsightler rewrote almost everything and I was able to manage devices which I still can’t control with tuyapi… Especially as you already have the device id’s and keys, I think it’s worth a try…