def METHOD_NAME(self, details):
    print("Component ready! Configuration: {}".format(self.config.extra))
    port = self.config.extra['port']
    baudrate = self.config.extra['baudrate']
    serialProtocol = McuProtocol(self)
    print('About to open serial port {0} [{1} baud] ..'.format(port, baudrate))
    try:
        serialPort = SerialPort(serialProtocol, port, reactor, baudrate=baudrate)
    except Exception as e:
        print('Could not open serial port: {0}'.format(e))
        self.leave()
    else:
        yield self.register(serialProtocol.controlLed, "com.myapp.mcu.control_led")