I'm trying to install this light in my house, but I don't know how the wiring works for it. The light has a switch on the front of it that controls both bulbs and the switch has two black wires coming out of it.
Two of the wires coming from the bulbs were tied together.
Here's a picture of the wiring on the back of the light. Any ideas?