Every sensor is "Not available"
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:
- go to Settings
- click on Devices and Services
- click on Grocy
- under Sensors these are set to Not available
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
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)
I had the same issue with the following logs also. Then I realized that there's missing information in the battery tracking (All batteries I input were without "Used in" information. After I input the "Used in" information, all sensors were no longer unavailable
Error fetching grocy data: Update failed: 1 validation error for BatteryDetailsResponse battery -> used_in none is not an allowed value (type=type_error.none.not_allowed)
Please test again there was a PR #323 which should fix this issue
Grocy Component Version: 2025.1.1
Please test again there was a PR #323 which should fix this issue
Grocy Component Version: 2025.1.1
Not yet, for me :(
If I remember correctly that icon means disabled, can you enable the entities
Clicking the cog you should be able to enable this sensor.
If I remember correctly that icon means disabled, can you enable the entities
Clicking the cog you should be able to enable this sensor.
Thanks! I able all sensor manually and works!
