Open AffeMitNerWaffe opened 3 weeks ago
Same for me
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?
binary_sensor.grocy_overdue_chores binary_sensor.grocy_expired_products sensor.grocy_chores
What is your installed versions of Home Assistant, Grocy and this integration? Core 2024.6.4 Frontend 20240610.1
and also: Core 2024.7.0 Frontend 20240703.0
Grocy 4.11.1
How do you have Grocy installed? Add-on or external? external
My Log says:
ERROR (MainThread) [custom_components.grocy.coordinator] Error fetching grocy data: Update failed: <Response [400]>
I had the same issue when I started looking at meal plans.
To reproduce: Given that I only have one recipe given a name only. No ingredients or anything else entered. And I have added the recipe to a meal plan. Then all queries to grocy failed, and all my tasks appeared empty as well.
This produced the following log entry:
2024-07-11 11:49:27.590 ERROR (MainThread) [custom_components.grocy.coordinator] Error fetching grocy data: Update failed: 1 validation error for MealPlanSectionResponse
name
none is not an allowed value (type=type_error.none.not_allowed)
The integration has been running for some time now. Unfortunately, the sensors are now always set to unavailable. As a result, my chores can no longer be displayed on my dashboard. Grocy itself still works. I can access it and the tasks are all still stored.
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?
binary_sensor.grocy_overdue_chores sensor.grocy_meal_plan sensor.grocy_chores
What is your installed versions of Home Assistant, Grocy and this integration? Core 2024.6.4 Supervisor 2024.06.0 Operating System 12.4 Frontend 20240610.1 Grocy Add-on 0.21.0 Grocy 4.11.1
How do you have Grocy installed? Add-on or external? Add-On