'Logout from Verisure.'

def logout(self):

    try:
        self.session.logout()
    except self._verisure.Error as ex:
        _LOGGER.error('Could    not    log    out    from    verisure,    %s', ex)
        return False
    return True
