amimof / huego

An extensive Philips Hue client library for Go with an emphasis on simplicity
MIT License
250 stars 36 forks source link

Unable to rename group #16

Closed zachfi closed 4 years ago

zachfi commented 4 years ago

I get the following error when trying to call group.Rename(): ERROR 6 [/groups/9/state]: "parameter, state, not available"

Is this a change in the API perhaps? Using the version of this code.

zachfi commented 4 years ago

Renaming a light works fine.

amimof commented 4 years ago

@xaque208 Thanks for reporting. According to the official Philips Hue documentation, only name, lights and class may be updated on an existing group through the Group API. All other fields seems to immutable. I'll try to have this fixed during this week. You are welcome to submit a PR if you like.