-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meal entry in meal plan without section cause error #285
Comments
I have the same error |
I am also having this issue. |
I am experiencing the same. |
I can confirm that for me the issue is solved now Grocy v4.3.4 I has been fixed in version 2025.1.1 as mentioned in #312 (comment) when I don't select section in the meal plan, Grocy component is still successfully loaded in HA (section_id is -1 in that case) thanks for the fix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Mealplan with default (empty) section cause breaking loading of grocy integration
Exact error message is
Logger: custom_components.grocy.coordinator
Source: helpers/update_coordinator.py:229
Error fetching grocy data: Update failed: 1 validation error for MealPlanSectionResponse name none is not an allowed value (type=type_error.none.not_allowed)
Current workaround is to add "dummy" section and set it up for every meal added but if you forget whole integration will stop working.
Expected behavior
Meal in meaplan without section (empty section) will be loaded and will not break loading of grocy integration.
To Reproduce
Steps to reproduce the behavior:
Error fetching grocy data: Update failed: 1 validation error for MealPlanSectionResponse name none is not an allowed value (type=type_error.none.not_allowed)
General information to help debugging:
What sensors do you have enabled? Are they working and/or what state are they in? Do you have the corresponding functions enabled in Grocy?
Chores, mealplan, overdue chores, overdue tasks, tasks
What is your installed versions of Home Assistant, Grocy and this integration?
Grocy v4.3.4
by Grocy
Version: v4.11.1
Home Assistant 2023.8.3
Grocy Version 4.0.2
How do you have Grocy installed? Add-on or external?
External
The text was updated successfully, but these errors were encountered: