code: def do_set_device(self, args):
          
          params = args.split()
          device = None
  
          try:
              device = params[0]
          except IndexError:
              _LOGGING.error('Device name required.')
              self.do_help('set_device')
  
          if device:
              self.tools.device = device
docs: Set the PLM OS device.
  
          Device defaults to /dev/ttyUSB0
  
          Usage:
              set_device device
          Arguments:
              device: Required - INSTEON PLM device