That is a puzzle! From the position of the first switch, you gotta shoot an arrow passing through the fire to hit the leaves in the other side of the room... That will cause it to burn, and then you can access the second lever needed to open the door! ^^