pyzerproc/light.py
async def disconnect(self, *args, timeout=None):
        """Close the connection to the light."""
        _LOGGER.debug("Disconnecting from %s", self._address)
        try:
            await asyncio.wait_for(
                self._do_disconnect(),
                self._default_timeout if timeout is None else timeout)
        except Exception as ex:
            raise ZerprocException() from ex
        _LOGGER.debug("Disconnected from %s", self._address)
Close the connection to the light.
Close the connection to the light.
Close the connection to the light .
async def disconnect(self, *args, timeout=None):
        _LOGGER.debug("Disconnecting from %s", self._address)
        try:
            await asyncio.wait_for(
                self._do_disconnect(),
                self._default_timeout if timeout is None else timeout)
        except Exception as ex:
            raise ZerprocException() from ex
        _LOGGER.debug("Disconnected from %s", self._address)
async def disconnect ( self , * args , timeout = None ) : _LOGGER . debug ( "Disconnecting from %s" , self . _address ) try : await asyncio . wait_for ( self . _do_disconnect ( ) , self . _default_timeout if timeout is None else timeout ) except Exception as ex : raise ZerprocException ( ) from ex _LOGGER . debug ( "Disconnected from %s" , self . _address )
Close the connection to the light.
Close the connection to the light .
"""Close the connection to the light."""
self
timeout