Hoping somebody can help out here. I'm in the process of changing my old ceiling fan to a new fan (a new ceiling fan with a lighting kit but does not have a remote). Currently, the wires coming from the wall that connects to the fan are Red, Black, White, and Copper/Ground. Apparently, that wire is connected to the recessed light in the ceiling about 7 feet away. The setup is frustrating right now because there's only 1 switch that controls the recessed light and fan and I need to get up on a ladder to pull the string if I want to use the fan or the fan light. More so frustrating is the fact that the recessed light stays on once that switch is set to on so I cannot use the fan without turning on the recessed light. I realize that I can use a remote control but we bought the smart switch and we prefer the functionality of that if possible.
In the junction box where the recessed lighting is, there are two sets of wires coming from the wall. Each set has Red, Black, White, and Copper/Ground. The recessed light has a white light that is pigtailed to both of the white wires from the ceiling. It also has a green ground wire that is pigtailed to both of the copper wires coming from the ceiling. Finally, the light has a black wire that is pigtailed to both of the red wires coming from the ceiling. The 2 black wires from the ceiling are pigtailed but are not connected to the light.
Note that currently, the fan and recessed light is controlled by 1 single switch. The switch appears to have 3 sets of wires coming into the junction box. The 3 white wires are connected together via a wire nut. There are 3 copper wires that are pigtailed to the left side of the switch. There are 3 black wires that are pigtailed with a black wire going to the bottom right bronze side of the switch. However, there is only 1 red wire which is going to the upper right copper side of the switch.
Is it possible to use the smart switch, as pictured in this scenario? I think I have all the proper wires. I'm slightly concerned about how the recessed light is connected to the fan.