Turn on and off led bulb

I’d suggest that you read this link…

then edit your post (using the pencil icon at the bottom) and provide significantly more information.

Pete.