satel_integra/satel_integra.py
async def keep_alive(self):
        """A workaround for Satel Integra disconnecting after 25s.

        Every interval it sends some random question to the device, ignoring
        answer - just to keep connection alive.
        """
        while True:
            await asyncio.sleep(self._keep_alive_timeout)
            if self.closed:
                return
            # Command to read status of the alarm
            data = generate_query(b'\xEE\x01\x01')
            await self._send_data(data)
async def keep_alive(self):
        while True:
            await asyncio.sleep(self._keep_alive_timeout)
            if self.closed:
                return
            # Command to read status of the alarm
            data = generate_query(b'\xEE\x01\x01')
            await self._send_data(data)
async def keep_alive ( self ) : while True : await asyncio . sleep ( self . _keep_alive_timeout ) if self . closed : return # Command to read status of the alarm data = generate_query ( b'\xEE\x01\x01' ) await self . _send_data ( data )
A workaround for Satel Integra disconnecting after 25s.

        Every interval it sends some random question to the device, ignoring
        answer - just to keep connection alive.
A workaround for Satel Integra disconnecting after 25s .