It mean there was a certain mechanism on his body which played the role to turn on and turn off the lights, such electric lamp switch or button connected and cut electric current which flew to the bulb