Skip to content

Problem with groups in OpenHAB 3  #25

Description

@simoschip2000

For me the library can not read the members of a group in OpenHAB 3. From what i have seen the members of a group are determined with these lines of code:
for i in json_data['members']: self.members[i['name']] = self.openhab.json_to_item(i)

When I access my servers REST interface with ip:8080/rest/items , I see that the group itself does not save its members. Instead each member remembers the groups it is in (see pictures).

Is this issue only occuring for me or is it a problem in general? I would try to fix it and commit if it is a problem in general.

Thank you!

A group thing:
Group

A "normal" thing:
Thing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions