def startup(self):
    self.print_status('Northcliff Aircon Controller starting up on ')
    self.client = mqtt.Client('aircon')
    self.client.on_connect = self.on_connect
    self.client.on_message = self.on_message
    self.client.connect('<your mqtt Broker name>', 1883, 60)
    self.client.loop_start()
    if (self.calibrate_damper_on_startup == True):
        self.calibrate_damper(damper_movement_time=180)
    self.detect_damper_position(calibrate=False)
    self.update_status()
def startup(self):
    self.print_status('Northcliff Aircon Controller starting up on ')
    self.client = mqtt.Client('aircon')
    self.client.on_connect = self.on_connect
    self.client.on_message = self.on_message
    self.client.connect('<your mqtt Broker name>', 1883, 60)
    self.client.loop_start()
    if (self.calibrate_damper_on_startup == True):
        self.calibrate_damper(damper_movement_time=180)
    self.detect_damper_position(calibrate=False)
    self.update_status()