def _write_port(self, port, value): """Set input value""" connection = Connection(self._host, self._port, port) connection.send(value)