Tuya PIR Motion Sensor Local Mode not Working

I followed all the step that allows control of Tuya Devices in Local mode. But after adding the Motion Sensor, it does work in Local Mode; I mean if I disconnect the internet, then the Motion Sensor doesn’t update any information. Can someone please help me with this?