def schedule_deactivation(self, time=None):
        if time is not None:
            delay = Timing.string_to_ms(time)
        elif self.config['activation_time']:
            delay = self.config['activation_time']
        else:
            delay = False

        if delay:
            self.delay.add(name='disable_held_coil', ms=delay,
                           callback=self.disable_held_coil)
        else:
            self.disable_held_coil()
Mostly a stub to ease testing. Eventually this may do some formatting or
dataset/ETHPy150Open missionpinball/mpf/mpf/devices/diverter.py/Diverter.schedule_deactivation--crossover with--dataset/ETHPy150Open Yelp/paasta/paasta_tools/cli/cmds/logs.py/print_log