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

group metadata is null #318

Open
ahihi opened this issue Jul 23, 2024 · 1 comment
Open

group metadata is null #318

ahihi opened this issue Jul 23, 2024 · 1 comment

Comments

@ahihi
Copy link

ahihi commented Jul 23, 2024

hi,

i am using HueApi 1.4.0, as it is the last version with .NET Framework 4.6.1 support.

when i retrieve information about groups like this:

var hue = new LocalHueApi(address, key);
var groupsResponse = await hue.GetGroupsAsync();

i expect to find the group names in the metadata for each group. but i am only getting a null Metadata field for each group. is there something else i need to do to populate this field?

@michielpost
Copy link
Owner

That is not how the new Hue API works unfortunately. Each group has an owner, this is a resource id.
You can get the name of the owner, most of the time this is a room. But for group 0 it is the bridge.

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