def calibrate_damper(self, damper_movement_time):
    print('Calibrating Damper')
    print('Taking Control of Damper')
    self.damper_control_state = True
    GPIO.output(self.damper_control, True)
    time.sleep(1)
    print('Moving Damper to Night Zone')
    self.damper_night_zone()
    time.sleep(damper_movement_time)
    print('Moved Damper to Night Zone')
    self.detect_damper_position(calibrate=True)
    print('Night Zone Damper Position', self.damper_position)
    print('Changing Night Zone Damper Position from', self.damper_night_position, 'to', self.damper_position)
    self.damper_night_position = self.damper_position
    print('Moving Damper to Day Zone')
    self.damper_day_zone()
    time.sleep(damper_movement_time)
    print('Moved Damper to Day Zone')
    self.detect_damper_position(calibrate=True)
    print('Day Zone Damper Position', self.damper_position)
    print('Changing Day Zone Damper Position from', self.damper_day_position, 'to', self.damper_position)
    self.damper_day_position = self.damper_position
    print('Relinquishing Control of Damper')
    self.damper_control_state = False
    GPIO.output(self.damper_control, False)
    time.sleep(1)
def calibrate_damper(self, damper_movement_time):
    print('Calibrating Damper')
    print('Taking Control of Damper')
    self.damper_control_state = True
    GPIO.output(self.damper_control, True)
    time.sleep(1)
    print('Moving Damper to Night Zone')
    self.damper_night_zone()
    time.sleep(damper_movement_time)
    print('Moved Damper to Night Zone')
    self.detect_damper_position(calibrate=True)
    print('Night Zone Damper Position', self.damper_position)
    print('Changing Night Zone Damper Position from', self.damper_night_position, 'to', self.damper_position)
    self.damper_night_position = self.damper_position
    print('Moving Damper to Day Zone')
    self.damper_day_zone()
    time.sleep(damper_movement_time)
    print('Moved Damper to Day Zone')
    self.detect_damper_position(calibrate=True)
    print('Day Zone Damper Position', self.damper_position)
    print('Changing Day Zone Damper Position from', self.damper_day_position, 'to', self.damper_position)
    self.damper_day_position = self.damper_position
    print('Relinquishing Control of Damper')
    self.damper_control_state = False
    GPIO.output(self.damper_control, False)
    time.sleep(1)