def start(self, priority=None, callback=None, **kwargs):

        if type(priority) is int:
            self.priority = priority
        else:
            self.priority = self.config['mode']['priority']

        self.log.info('Mode Start. Priority: %s', self.priority)

        self.active = True

        for item in self.machine.mode_controller.start_methods:
            if item.config_section in self.config:
                self.stop_methods.append(
                    item.method(config=self.config[item.config_section],
                                priority=self.priority,
                                mode=self,
                                **item.kwargs))
Starts this mode.
dataset/ETHPy150Open missionpinball/mpf/mpf/media_controller/core/mode.py/Mode.start