code: async def create(cls, device='/dev/ttyUSB0', host=None,
                       username=None, password=None, port=25010, hub_version=2,
                       auto_reconnect=True, loop=None, workdir=None,
                       poll_devices=True, load_aldb=True):
          
          _LOGGER.debug("Starting Modified Connection.create")
          conn = cls(device=device, host=host, username=username,
                     password=password, port=port, hub_version=hub_version,
                     loop=loop, retry_interval=1, auto_reconnect=auto_reconnect)
  
          def connection_lost():
              """Respond to Protocol connection lost."""
              if conn.auto_reconnect and not conn.closing:
                  _LOGGER.debug("Reconnecting to transport")
                  asyncio.ensure_future(conn.reconnect(), loop=conn.loop)
  
          protocol_class = PLM
          if conn.host and conn.hub_version == 2:
              protocol_class = Hub
          conn.protocol = protocol_class(
              connection_lost_callback=connection_lost,
              loop=conn.loop,
              workdir=workdir,
              poll_devices=poll_devices,
              load_aldb=load_aldb)
  
          await conn.reconnect()
  
          _LOGGER.debug("Ending Connection.create")
          return conn
docs: Create a connection to a specific device.
  
          Here is where we supply the device and callback callables we
          expect for this PLM class object.
  
          :param device:
              Unix device where the PLM is attached
          :param address:
              IP Address of the Hub
          :param username:
              User name for connecting to the Hub
          :param password:
              Password for connecting to the Hub
          :param auto_reconnect:
              Should the Connection try to automatically reconnect if needed?
          :param loop:
              asyncio.loop for async operation
          :param load_aldb:
              Should the ALDB be loaded on connect
  
          :type device:
              str
          :type auto_reconnect:
              boolean
          :type loop:
              asyncio.loop
          :type update_callback:
              callable