Enable on/off switch for device