Persnally I wouldn't hesitate to put a hole in the rear for an automatic on/off switch.
But if it's not something you would sell I can still do that on my own, or go for an on/off switch and hide it somewhere, even accesible from inside would be good.