Converting switched outlet with 2 black and 1 red for a smart switch
You're pretty much right on target. Wire nut the two black wires in the box to one black wire from the switch. Check to make sure the switch instructions don't specify &quot;line&quot; and &quot;load&quot; on the wires. One of your black wires in the box is your always hot and the other one is a tap off the hot to another location, probably the always hot on the outlet. The red wire in the box gets wire nutted to the remaining black wire from the switch and then the neutral, white, and grounds get hooked up.