Could get a little tricky if you want to light both LED's at different positions. .
We could use the switch for a non brewing project, useless I think.
Based on the color of the LED's we can identify an unknown voltage applied to two terminals as DC, DC polarity or AC.
Just leave the switch in the on possition and use four diodes and one resistor.
As long we use low volts and forward current no other parts are required.