An on / off switch has two states and the current state should be clear and obvious. That's a UI pattern that applies to both real world switches and on-screen switches.
Making an on-screen switch look like a light switch, or a metal toggle switch from an old piece of equipment - that's skeuomorphism.
Making an on-screen switch look like a light switch, or a metal toggle switch from an old piece of equipment - that's skeuomorphism.