Lighting a lamp with a widget

Hello Evil Cleric,

I first added a Bleuprint to the “light point”, then in the Widget I created a variable “type object” in which I referenced the “Lihgt point” that I named “Lumière Rouge”.
Is there a better way?

Bouton et lampe 2.jpg
Bouton et lampe 3.jpg