I took down an old large chandelier to replace it with a new smaller one. It took a few weeks to repair the ceiling and find a new chandelier and I didn't take a photo of the original wiring setup.
Now that I am ready to put our new chandelier up, I noticed that there are two lines in the box, each with a white, black and ground cable. I tried connecting both blacks to the chandelier black and both whites to the chandelier white, but that just kept the light on all the time, and the switch did nothing.
Using a line tester, I noticed that both blacks and one of the whites are always hot, whether the switch is on or not.
Can anyone help me figure out the proper connections?
I opened up the light switch and now I'm even more confused. There are two switches connected to what seems to be one three pole line. One switch (right) is for the chandelier and the other switch is for two adjacent recessed lights.