How to wire a switch with two black wires and one yellow wire? Leave a comment

I’m new to the DIY community. I’m currently working on changing my switches to smart switches. I’ve done two single poles successfully but now I have some trouble with this one.

This is my bedroom light switch. I think it’s a single pole as I don’t see any other switches that control the same light. But there’s two black wires and one yellow wire, which confused me.
Can anyone let me know what they are and how I can wire them to a smart switch?
I’m using lutron smart switch that has two black wire, one green/white wire, and one bare wire.
enter image description here

enter image description here

enter image description here

Thanks everyone!!

Elsa

Leave a Reply

Your email address will not be published. Required fields are marked *