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 failed with InvalidStepSize #18
Comments
The step size for each option is added to the A dropdown menu may be suitable when only a few values are allowed, which looks like is often the case for Perhaps selecting between a dropdown menu or a comment based on the number of allowed values. I'll have a think about it... |
Actually, it is slightly more complicated than that... The Both the AJSF only uses the The values from the |
I have implemented:
Committed as 318410d. Will be in the next release. |
Released as v0.17.0. |
In the UI X you can specify the individual coffee amount for every program and there is a valid range listed for every program. But the API does not allow every value between those limits. When I enter a value that is not within the "step size" it leads to the fowling error when starting the program:
[2/16/2020, 12:16:48] [HomeConnect] [Kaffeevollautomat] Home Connect API error:ConsumerProducts.CoffeeMaker.Option.When validation failed with InvalidStepSize. [SDK.Error.InvalidOptionValue]
In terms of usability the setpsize should maybe be added as a hint. Or maybe a dropdown menu for the amount based on the API setpsize.
The text was updated successfully, but these errors were encountered: