Open short-circuit opened 1 year ago
I am also having this issue. Setting up Grocy from HACS in Integrations, it claims to have made a connection, but all entities are unavailable. Restarting everything does not fix it. Screenshots below:
@profucius Try to open Advanced settings and set the entity to enabled. AFAIK the component disables all entities by default. Although, my entities are unavailable also after a full day of being enabled in the advanced settings.
Fresh install here. I receive this error as well:
2022-12-09 13:33:10.201 ERROR (MainThread) [custom_components.grocy.coordinator] Error fetching grocy data: Update failed: 1 validation error for ProductDetailsResponse product -> qu_factor_purchase_to_stock value is not a valid float (type=type_error.float)
Everything works, but then after that error everything becomes unavailable. Not disabled, but a status of unavailable. I disabled "binary_sensor.grocy_missing_products" and the error went away. Everything else appears to be working.
I tried enabling sensor.grocy_stock but I receive this error now: "Error fetching grocy data: Update failed: 1 validation error for CurrentStockResponse product -> qu_factor_purchase_to_stock value is not a valid float (type=type_error.float)"
After upgrading HA recently to 2023.3.4 I received a similar error. This time I had to disable the Grocy Shopping List for this integration to work. The fix to pygrocy from the previous error worked. This error received was:
Error fetching grocy data: Update failed: 1 validation error for ShoppingListItem amount value is not a valid float (type=type_error.float)
Describe the bug Tried with my current setup, fails to make entities available in home assistant. Thought my install was bad, made a fresh install of Grocy and HA component, fails on adding the entities or refreshing information
Expected behavior Grocy component adds (also empty) items to home assistant entities
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? Any entity I enable is unable to get information and stays in unavailable state
What is your installed versions of Home Assistant, Grocy and this integration? Home Assistant - 2022.11.5 Grocy - 3.3.2 Integration - 4.7.1 Beta (Same error with stable)
How do you have Grocy installed? Add-on or external? External, Docker (using local on port 9192, Grocy itself works as intended)
Have you added debugging to the log, and what does the log say?
Addition information Grocy custom component spams the above messages constantly when it tries to update entities. Configuration finishes correctly.