Get a single resource.

        :raises PvApiError when a hub connection occurs.

async def get_resource(self, resource_id: int) -> dict:
        """Get a single resource.

        :raises PvApiError when a hub connection occurs."""
        resource = await self.request.get(
            join_path(self._base_path, str(resource_id))
        )
        self._sanitize_resource(self._get_to_actual_data(resource))
        return resource