iOS Lock Screen Widget - Status of Device

Hi,

I have created a script for a Switch. I have added this script then to the Lock Screen of my iPhone.
I can turn on and off the switch, but I do not see the status.

Is this possible?

Best Regards,
Johannes