Description
Unless all relevant information is provided, I can't help you
Describe the bug
The chore sensor becomes unavailable every other minute, only have 1 chore set up.
Happens with every sensor I enable.
Expected behavior
Chore sensor available at all times
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?
Only the chore and the overdue chore ones
What is your installed versions of Home Assistant, Grocy and this integration?
System: Home Assistant OS 14.2 (amd64 / qemux86-64)
Home Assistant Core: 2025.2.4
Home Assistant Supervisor: 2025.03.0
Grocy add-on: v0.24.0
Grocy custom component version: 2025.2.2
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:412
integration: Grocy (documentation, issues)
First occurred: 8:22:39 PM (1 occurrences)
Last logged: 8:22:39 PM
Error fetching grocy data: Update failed: Expecting value: line 1 column 1 (char 0)```
Additional context
Tried doing a fresh install of the component and grocy itself, to no avail
Looks like there's an error initially fetching grocy data, as then it "succeeds" in doing so:
2025-03-04 21:03:55.705 ERROR (MainThread) [custom_components.grocy.coordinator] Error fetching grocy data: Update failed: Expecting value: line 1 column 1 (char 0)
2025-03-04 21:03:55.705 DEBUG (MainThread) [custom_components.grocy.coordinator] Finished fetching grocy data in 0.106 seconds (success: False)