pyzerproc/light.py
async def is_connected(self, *args, timeout=None):
        """Returns true if the light is connected."""
        try:
            return await asyncio.wait_for(
                self._client.is_connected(),
                self._default_timeout if timeout is None else timeout)
        except asyncio.TimeoutError:
            return False
        except Exception as ex:
            raise ZerprocException() from ex
Returns true if the light is connected.
Returns true if the light is connected.
Returns true if the light is connected .
async def is_connected(self, *args, timeout=None):
        try:
            return await asyncio.wait_for(
                self._client.is_connected(),
                self._default_timeout if timeout is None else timeout)
        except asyncio.TimeoutError:
            return False
        except Exception as ex:
            raise ZerprocException() from ex
async def is_connected ( self , * args , timeout = None ) : try : return await asyncio . wait_for ( self . _client . is_connected ( ) , self . _default_timeout if timeout is None else timeout ) except asyncio . TimeoutError : return False except Exception as ex : raise ZerprocException ( ) from ex
Returns true if the light is connected.
Returns true if the light is connected .
"""Returns true if the light is connected."""
self
timeout