Your goal is to change the light from gray to green. You do this by entering the correct combination with the 6 switches under it.
In order to prove that you've truly beaten the puzzle, you would need to do it 6 times in a row.
Come back after you win to read additional rules.
In order to claim the crown, you need to end your combinations on switches that correspond to the counter on top of the light. If the counter is at 2, for example, you need to end your combination at the second switch.