satel_integra/satel_integra.py
async def connect(self):
        """Make a TCP connection to the alarm system."""
        _LOGGER.debug("Connecting...")

        try:
            self._reader, self._writer = await asyncio.open_connection(
                self._host, self._port, loop=self._loop)
            _LOGGER.debug("sucess connecting...")

        except Exception as e:
            _LOGGER.warning(
                "Exception during connecting: %s.", e)
            self._writer = None
            self._reader = None
            return False

        return True
async def connect(self):
        """Make a TCP connection to the alarm system."""
        _LOGGER.debug("Connecting...")

        try:
            self._reader, self._writer = await asyncio.open_connection(
                self._host, self._port, loop=self._loop)
            _LOGGER.debug("sucess connecting...")

        except Exception as e:
            _LOGGER.warning(
                "Exception during connecting: %s.", e)
            self._writer = None
            self._reader = None
            return False

        return True
async def connect ( self ) : _LOGGER . debug ( "Connecting..." ) try : self . _reader , self . _writer = await asyncio . open_connection ( self . _host , self . _port , loop = self . _loop ) _LOGGER . debug ( "sucess connecting..." ) except Exception as e : _LOGGER . warning ( "Exception during connecting: %s." , e ) self . _writer = None self . _reader = None return False return True
Make a TCP connection to the alarm system.
Make a TCP connection to the alarm system .