There are 3 light switches, each for a different bulb. How do you figure out which switch controls which bulb if you can only go into the room once?
Turn on the first switch, wait, then turn it off. The warm bulb is from the first switch, the on bulb is from the second, and the off bulb is from the third.