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

EffectType from String "prism": not one of the values accepted for Enum #59

Closed
BrienFr opened this issue Jun 5, 2023 · 2 comments
Closed

Comments

@BrienFr
Copy link

BrienFr commented Jun 5, 2023

Hello,

I've got the folowing error :

io.github.zeroone3010.yahueapi.HueApiException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type io.github.zeroone3010.yahueapi.v2.domain.update.EffectType from String "prism": not one of the values accepted for Enum class: [candle, sparkle, no_effect, fire]
at [Source: (sun.net.www.protocol.http.HttpURLConnection$HttpInputStream); line: 1, column: 34983] (through reference chain: io.github.zeroone3010.yahueapi.v2.domain.ResourceRoot["data"]->java.util.ArrayList[57]->io.github.zeroone3010.yahueapi.v2.domain.LightResource["effects"]->io.github.zeroone3010.yahueapi.v2.domain.Effects["status_values"]->java.util.ArrayList[3])
at io.github.zeroone3010.yahueapi.v2.Hue.refresh(Hue.java:109)

I think, this is new possible value for Effects, is there a workaround or could you update api
thank in advance

best Regards
Brien

@ZeroOne3010
Copy link
Owner

Hey, thanks for the report! Seems like a new value indeed, I will look into it!

@ZeroOne3010
Copy link
Owner

Alright, this should now be fixed, just update to version 3.0.0-beta! Thank you again so much for the report, please keep them coming! 🙏

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

2 participants