diff --git a/pymodbus/client/asynchronous/asyncio/__init__.py b/pymodbus/client/asynchronous/asyncio/__init__.py index baa9f71ec..4b9510f38 100644 --- a/pymodbus/client/asynchronous/asyncio/__init__.py +++ b/pymodbus/client/asynchronous/asyncio/__init__.py @@ -713,7 +713,7 @@ def connect(self): yield from create_serial_connection( self.loop, self._create_protocol, self.port, baudrate=self.baudrate, - bytesize=self.bytesize, stopbits=self.stopbits + bytesize=self.bytesize, stopbits=self.stopbits, parity=self.parity ) yield from self._connected_event.wait() _logger.info('Connected to %s', self.port)