Enclosure auto lighting

Is there a way to have the 2.0 enclosure lighting switch on and off with the door? It seems possible being that there is a door sensor and the controller switches the lights. Any help or advise is much appreciated, thanks

as far as I can see it is only for stopping the cnc and laser when a door opens, not a crazy question because why the light on when the door is closed, I haven’t come across this option yet, but am new to the snapmaker

Yes would be a great option, seems it would be just a coding thing. Thanks

So I can see what’s going on! I don’t need such an feature to turn it off when the door is closed.