michielpost / Q42.HueApi

C# helper library to talk to the Philips Hue bridge
MIT License
409 stars 114 forks source link

Error converting value "Entertainment" to type 'Q42.HueApi.Models.Groups.GroupType'. #109

Closed niels9001 closed 7 years ago

niels9001 commented 7 years ago

I came across this error in my crash analytics. Looks like a user has some sort of group that has Entertainment as its type (no idea how...).

What would be the best solution for this? To default it to LightGroup in case a Type is unknown?

michielpost commented 7 years ago

Type can be null, I made a change to ignore unknown enum values It's on NuGet in release 3.4.1