I’m searching for a switch that’s ON when it’s unplugged and OFF when it’s plugged. I made a GIF that describes what I mean: 
In my example I use a small ON/(OFF) slide switch, which is made to be OFF when it’s plugged. It’s just an example though, it doesn’t have to use a slide switch or look exactly like it does in my example, but it does need to have the same basic function.

In my example I use a small ON/(OFF) slide switch, which is made to be OFF when it’s plugged. It’s just an example though, it doesn’t have to use a slide switch or look exactly like it does in my example, but it does need to have the same basic function.