'Generate a list of cameras.'

def cameras(self):

    try:
        for structure in self.nest.structures:
            if (structure.name in self.local_structure):
                for device in structure.cameras:
                    (yield (structure, device))
            else:
                _LOGGER.info('Ignoring    structure    %s,    not    in    %s', structure.name, self.local_structure)
    except socket.error:
        _LOGGER.error('Connection    error    logging    into    the    nest    web    service.')
