Interrogate switch status in canned apps?

Canbed apps (tuya) interrogate wall outlet status.

I am frustrated with switch defices where Alexa cannot tell me if the switch is on or off. With a minimum of effort, how can I have that? Is it part of Tuya, for example? Is there a brand, standard, or class of devices that are interrogateable from Alexa?

it’s relatively easy with tuyapi
this is how i do it, see line 37