I have the same switch to use in a future project. 2 of the pins are in and out for the switch the other 2 are positive and negative for the blue led in the switch
But how do you wire it so that the switch only lights up when the light is on?
Although it would be nice to always have it illuminated, I wonder how fast it would drain the batteries….
I think it would be more parasitic draw than I would ever want. you need to take the positive wire from the switched out and use a resistor that works with your battery combination if needed. the ground goes to ground.