You've got no class.
Because they use a strongly typed language.
One to generate a "ChangeLightBulb" event to the socket.