You need to determine which of the 2 black wires on the switch is the line (hot) wire and which is load. Hot wire to black, load wire to red. White switch wire to neutral
Green wire to ground. Cap the blue as it not used for a single pole switch
Sent from my Moto E (4) Plus using Tapatalk
Green wire to ground. Cap the blue as it not used for a single pole switch
Sent from my Moto E (4) Plus using Tapatalk