Tuya switch reading

I’m having trouble showing the action done manually in the app. I can turn the light on and off through the tuya device, but if I turn it on manually, I don’t have feedback if it’s turned on or not through the app

See SmartLife / Tuya Switch Status feedback question - #2 by bill for explanation.