Switch on the first switch for a minute and then switch it off, then switch on the 2nd one and go inside the room, IF the bulb is still on, then 2nd one is the switch, if bulb is off and hot then 1st one is the switch and if bulb is off and not hot then 3rd one is the switch.