Hello
I am building a layout like this:

it is to be used to turn on the light in the room, I have three wires in the box (brown, blue and yellow-green), the question is: what should I do with the yellow-green wire? leave it in the air, connect it with the other one that is already going to the lamp? if so, what about the end of this wire at the lamp?
I am building a layout like this:

it is to be used to turn on the light in the room, I have three wires in the box (brown, blue and yellow-green), the question is: what should I do with the yellow-green wire? leave it in the air, connect it with the other one that is already going to the lamp? if so, what about the end of this wire at the lamp?