-
Notifications
You must be signed in to change notification settings - Fork 60
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
Enabling meal plan makes sensors unavailable. #312
Comments
There is a validation error with the upstream library (flipper/pygrocy2#2) there is a PR to fix this. |
Please test again there was a PR #323 which should fix this issue Grocy Component Version: 2025.1.1 |
btw this is also linked to this #285 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unless all relevant information is provided, I can't help you
Describe the bug
Enabling the Meal Plan sensor causes any other enabled sensor to become unavailable.
Expected behavior
All sensor displaying the relevant information.
To Reproduce
Steps to reproduce the behavior:
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?
Stock and Meal Plan
What is your installed versions of Home Assistant, Grocy and this integration?
**How do you have Grocy installed? Add-on or external?
Add-On
Have you added debugging to the log, and what does the log say?
This error originated from a custom integration.
Logger: custom_components.grocy.coordinator
Source: helpers/update_coordinator.py:386
integration: Grocy (documentation, issues)
First occurred: 11:38:19 AM (5 occurrences)
Last logged: 12:21:16 PM
Error fetching grocy data: Update failed: 1 validation error for MealPlanSectionResponse name none is not an allowed value (type=type_error.none.not_allowed)
JSON service data (if related to using a service)
Additional context
If you disable the Meal Plan sensor after 30-40 seconds or forcing a reload. All remaining enabled sensors will return to normal.
The text was updated successfully, but these errors were encountered: