grocy
grocy copied to clipboard
Improvement: Create calendar entity for meal plan
In addition to being a sensor it would be great to get the meal plan directly in the calendar panel.
I'm hoping to find time to look into this next week.
Thanks @isabellaalstrom for your work's. I found that's is big idea to create a calendar entity for meal plan, maybe we can be inspired by the following component ics_calendar to get the calendar, especially since there is an API to retrieve the Grocy calendar
I don't know enough Python to help you
I just made semi-functional todo entity versions of the sensors, and plan to next start working on the calendar entity.
I assume the desire here is to have a calendar entity for meal plan, chores, tasks and batteries. Is there any other desired configurations for the calendar entities?
Do the repo owners have any preference on how I implement this?
I have a rough version working now on my branch. I've PR'd it into my todo branch, as the code has similar requirements.
- Todo Entity Code: https://github.com/DellanX/grocy/tree/feature/todo
- PR to add Todo to this repository: https://github.com/custom-components/grocy/pull/306
- Calendar Entity Code: https://github.com/DellanX/grocy/tree/feature/calendar
- PR to add Calendar Entities to the Todo Entity codebase: https://github.com/DellanX/grocy/pull/1
I'll start to compare against Grocy, and work towards matching how data is displayed in Grocy. Further, my current implementation doesn't support repeating events, nor does is support previous events.
- It won't show next time a chore needs to be done
- It won't show when chores were previously completed