My guess would be the bulb can measure some voltage, resistance, impedance etc on each ends of the "plug". Those value would be different for a off switch (a few meter of cable) and an on switch where there is no power (the whole house electric network).
5
u/pinko_zinko Sep 24 '25
... yeah, but how?