I have recently rented a condo in a new building in Toronto (2020) where they didnt have lights installed in the Living room. I went to homedepot today and I am trying to install a light fixture that i got. Here are the wires coming out of it. It has 3 bulbs:
I opened the box in the ceiling and I saw more wires than I expected. I expected just a green, black and a white wire.
Also, good thing I bought a voltage tester, because if I didnt I might have been dead right now.
I found out that the yellow wire that had a tag saying "for light" is always hot and the switch doesn't cut the power from it. (Same for the black wires)
Now, I dont know how to connect all three bulbs to which wires, Any help would be appreciated
Update 1: Here is the wiring of the switch, there is no other switch except that one which should control the ceiling wires
Update 2: Here is the entire Switch Box The first switch on the left control the hallway light. This light also is controlled by another standalone switch...
The Middle switch is the Kitchen light... and the switch on the right is the one I think controls the ceiling wires because it is the only one which does nothing.
The ceiling didn't have anything connected, it was just a white cap.
Also, I have disconnected the yellow wire from the switch and it still shows a positive charge with the voltage tester.
Update 3: Connecting all the black wires of the fixture to the yellow wire from the ceiling has worked with the switch with no issues. Fitting all the white wires together was a hassle, so if you have a similar setup, make an electrical Pigtail as suggested by the answer.