At present we have a switched outlet for a floor lamp. I would like to replace this with a Kasa smart switch.
When I pulled the switch out I noticed it had 2 black wires and 1 red wire:
The red wire is back-stabbed into the switch, and one of the black wires is back-stabbed while the other is attached to the screw terminal.
Looking at some threads (e.g. Changing old light switch 2 black wires and 1 red) and some other research, it looks like for that use case the recommendation was to create a pigtail. But because this is a switch for an outlet I'm not sure if the same approach would apply.
The smart switch I have calls for 1 neutral (white), 1 green (ground), and two black wires. But I have 1 red, 2 blacks, a neutral (not shown), and a ground (not shown; wired to the box). What the approach for this be to cap the two blacks and create a pigtail, and connect that pigtail to one of the black wires for the smart switch? And then connect the red to the other black wire on the smart switch?
old switch new switch ================= ================= black --+ |---pigtail-----> black wire black --+ white -------> white red -------> black wire copper (ground) -------> green (ground)