Closed danielskeenan closed 2 years ago
The hue documentation is not very clear on this, but it may be only possible to create the entertainment setups from within the app.
Yeah the docs are pretty bad... Specificlly it seems this line from the Groups API page has changed in the implementation without updating docs (maybe tied to API v2?):
Note: For room creation the room class has to be passed, without class it will get the default: “Other” class.
As a test, I changed CreateGroup::getRequest() to always set the class, defaulting to "Other" if none was passed. Can't tell if there are other consequences for this, but happy to create a PR.
Feel free to create a pull request with your changes. Maybe we should also remove the entertainment option for CreateGroup, if it doesn't work.
Describe the bug: When creating a new Entertainment Group, the bridge responds with error 5 ("missing parameters in body").
To Reproduce: Steps to reproduce the behavior:
HueAPIResponseException
(details below).Expected behavior: The group is created.
Console log/Error message: The exceptions
what()
returns:Desktop (please complete the following information):
Additional context