async def get_instances(self, **kwargs) -> List[ApiResource]:
        """Returns a list of resource instances.

        :raises PvApiError when a hub problem occurs."""
        raw_resources = await self.get_resources(**kwargs)
        _instances = [
            self._resource_factory(_raw)
            for _raw in self._loop_raw(raw_resources)
        ]
        return _instances
Returns a list of resource instances.

        :raises PvApiError when a hub problem occurs.