Best practice on how to store data in custom integration that returns an unknown number of results?

Hello everybody,

I am currently thinking bout getting back to one of my projects where I would call an API to retrieve a list of results. Each result has a identifier and some additional values. I wodner how I should handle these results. I’d like for the user to be able to visualize the results in their dashboard, but I am not sure how this would be done in home assistant cosmos. Create a sensor for each entry? Whats the best practice for this?

Thanks in advance!

I would like to know as well. The first thing that comes to mind is, you could put the results in a google sheet but unless you want to store them for later for analysis that seems like a very wonky solution