def _sanitize_resources(cls, resources):
        """Loops over incoming data looking for base64 encoded data and
        converts them to a readable format."""

        try:
            for resource in cls._loop_raw(resources):
                cls._sanitize_resource(resource)
        except (KeyError, TypeError):
            _LOGGER.debug("no shade data available")
            return None