Alternatively you can wire the switch up in such a way that only that single outlet will be controlled by the switch but other outlets in the circuit will still stay powered on constantly. One switch screw terminal is for the power in.

Leviton Presents How To Install A Decora Combination Device With Three Single Pole Switches
How to wire a toggle switch outlet. Switch and outlet combo install build a workshop 41 duration. When wiring a switch to control a 110volt outlet the power wire is connected to the switch as follows. Diy electrical work duration. Use the black wire as the power in. Land to house 36872 views. Converting a light switch to a switchoutlet combo.
To do this you have to join together the black wires neutral wires and ground wires so that you have one connection for each using pigtails. The hot source wire is removed from the receptacle and spliced to the red wire running to the switch. Mark the wire wire with black. How to wire a switch for an outlet keep in mind that when wiring a switch it is not necessary to switch the white neutral wire. The black wire from the switch connects to the hot on the receptacle. Instead of running a separate pigtail from the hot wire to each switch just leave the hot wire extra long.
The source is at the outlet and a switch loop is added to a new switch. To connect the switches simply score the wire with your wire stripper and push the insulation to expose about 34 in. Connect the last switch in the usual manner looping the wire around the screw in a clockwise direction. To make the wire connection first place the bare loop of the wire around the shaft of the terminal screw with the loop positioned in a clockwise direction. One switch screw terminal is for the power out. Done this way the screw head will force the wire loop to close as it tightens down onto the wire.
Example of using a 3wire cable for a switch the 3wire cable can be used for switching as follows.