python-openhab icon indicating copy to clipboard operation
python-openhab copied to clipboard

Problem with groups in OpenHAB 3

Open simoschip2000 opened this issue 4 years ago • 0 comments

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

simoschip2000 avatar May 04 '21 11:05 simoschip2000