You can run commands on your enrolled Thing device.

The Liota package contains scripts for running commands on Thing devices such as light bulbs and sensors. When creating a Thing device template, provide the command name and parameters of the client commands and ensure that they match with the definition name and parameters in the script that is available in the Liota package. Next, register the script with VMware Pulse IoT Center by running the following command:
python3 reg.py <Thingdevice_action_script>
For example:
python3 reg.py light_actions

When the gateway receives a client command from VMware Pulse IoT Center, it runs the definition that is available in the Liota package.

For example, when you send a client command from VMware Pulse IoT Center for the connected light bulb to turn on, the turnOn definition is run in the Liota package of the gateway and the connected light bulb turns on.