Local tuya configuration issues

I have been using the add on integration for years now and in general all of the devices are working as you can see here.

But for some reason there are two devices that does not work.

This is not the only plug I have and the other plugs work fine. It was able to find the local key by itself. The only thing special about this plug is that it is probably the furthest away from the router in the house.

But it’s showing up in the official integration

The other device that does not work is a curtain device and again it works in the official plugin.

Any ideas how I can fix these so that they can be working locally without taking a trip to China and back