'Turn the switch off.'

def turn_off(self, **kwargs):

    if (self.type == SWITCH_TYPE_CLEAN):
        self.robot.pause_cleaning()
        self.robot.send_to_base()
    elif (self.type == SWITCH_TYPE_SCHEDULE):
        self.robot.disable_schedule()
