def enable(self, auto=False, activations=-1, **kwargs):
        self.enabled = True

        self.machine.events.post('diverter_' + self.name + '_enabling',
                                 auto=auto)

        if self.config['activation_switches']:
            self.enable_switches()
        else:
            self.activate()
Enables this diverter.
dataset/ETHPy150Open missionpinball/mpf/mpf/devices/diverter.py/Diverter.enable