Skip to content
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

validation error for BatteryDetailsResponse battery -> description none is not an allowed value #301

Open
michaelblight opened this issue Dec 28, 2023 · 0 comments

Comments

@michaelblight
Copy link

Unless all relevant information is provided, I can't help you

Describe the bug
I updated to HAOS 2023.12.4 and v4.11.1 of this addon and now I get the following error:

This error originated from a custom integration.

Logger: custom_components.grocy.coordinator
Source: helpers/update_coordinator.py:332
Integration: Grocy (documentation, issues)
First occurred: 18:20:21 (1 occurrences)
Last logged: 18:20:21

Error fetching grocy data: Update failed: 1 validation error for BatteryDetailsResponse battery -> description none is not an allowed value (type=type_error.none.not_allowed)

I am able to "fix" the error by ensuring that all my battery entries in the Grocy addon have a description.

Expected behavior
I should not have to have a description against every battery.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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?

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?
See log error above

JSON service data (if related to using a service)

{

}

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant