Support pagination in the Mealie integration #5726
Unanswered
JeffCrum1
asked this question in
Integration enhancements
Replies: 2 comments
|
🏷️ I've automatically added the |
0 replies
|
Pagination has recently been done on a music assistant action so there's precedence for doing this now, I saw the need and had asked about pagination elsewhere but got no response before. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Integration name
Mealie
Link to integration documentation on our website
https://www.home-assistant.io/integrations/mealie/
Describe the enhancement
Currently, the Mealie integration's
mealie.get_recipesaction allows users to retrieve a maximum of 100 recipes per request. However, there is no way to request subsequent pages of results.Mealie's API already supports pagination, so I'd like to see that functionality exposed through the Home Assistant integration.
I'm not suggesting that the existing 100-recipe limit be removed or that the integration support unlimited requests (-1). I think keeping a reasonable limit per request is important.
Instead, I'd like users to be able to retrieve additional pages while keeping that per-request limit in place. This would allow access to the entire recipe collection without requiring a single large request.
Use cases
I use the Mealie integration to build recipe lists and dashboards in Home Assistant. With a collection larger than 100 recipes, the current limit prevents me from retrieving the entire collection through the integration.
I understand the reasoning behind limiting the number of results returned in a single request. Nobody wants an integration making unnecessarily large requests that could affect the performance or stability of Mealie or Home Assistant.
I also think pagination could give HA users more control over how much they're asking of their Mealie server. Rather than requesting a large number of recipes in a single call, users could retrieve smaller groups and work through additional pages as needed.
This would allow users to access their entire recipe collection while keeping individual requests at a reasonable size.
My thinking is that one of the main reasons we have integrations in Home Assistant is so users don't have to manage the underlying API calls themselves. I'd much rather see pagination supported natively than have users create and maintain their own REST calls and pagination logic.
I'd be interested in hearing what others think about this approach. I'm certainly open to other ideas for achieving the same goal while keeping the performance and stability of both Mealie and Home Assistant in mind.
Anything else?
This request comes from an older discussion in the Home Assistant Community Forum:
https://community.home-assistant.io/t/mealie-in-ha/603560/142
Johan_L raised the 100-recipe limit in August 2025, explaining that they were using their own API call to retrieve all recipes and would prefer to use the integration instead.
CodeChimp responded:
"Ah, we wanted to put a sensible limit on it to stop any Mealie/Home Assistant performance issues, of course a rest call we can’t control."
I understand and agree with that concern. My hope is that pagination could provide a way to maintain those safeguards while still allowing users to retrieve their entire recipe collection.
All reactions