I’m currently using 3.3.0-SNAPSHOT - Build #2852. I just came across some interesting errors in my openhab log:
2022-04-16 22:10:20.165 [ERROR] [rest.core.item.EnrichedItemDTOMapper] - Recursive group membership found: BackPorch_Light2 is both, a direct or indirect parent and a child of gOutsideLights.
2022-04-16 22:10:20.166 [ERROR] [rest.core.item.EnrichedItemDTOMapper] - Recursive group membership found: BackPorch_Light1 is both, a direct or indirect parent and a child of gOutsideLights.
2022-04-16 22:10:20.166 [ERROR] [rest.core.item.EnrichedItemDTOMapper] - Recursive group membership found: BackYard_Light is both, a direct or indirect parent and a child of gOutsideLights.
2022-04-16 22:10:20.166 [ERROR] [rest.core.item.EnrichedItemDTOMapper] - Recursive group membership found: BackPorch_Light3 is both, a direct or indirect parent and a child of gOutsideLights.
There were other similar messages.
Those items are members (children) of gOutsideLights. I don’t see how they can be parents of gOutsideLights.
gOutsideLights’ parent is just gLights and gLights has no parents.
neither gLights nor gOutsideLights has any tags, metadata, etc attached to them. This is their definition in the .items file:
Group gLights
Group gOutsideLights (gLights)
Group:Switch:OR(ON,OFF) gBackYardLights "Backyard Lights" (gOutsideLights) {ga="Light", synonyms="Back Porch Lights, Back Yard Lights"}
Group:Switch:OR(ON,OFF) gBackPorch_Switch2
Switch BackPorch_Light2 "Back Porch Light 2" <switch> (gOutsideLights, gBackPorch_Switch2, gBackYardLights, gBackPorch) ["Lightbulb"] { channel="mqtt:topic:backporch-switch2:power1", autoupdate="false", ga="Light", alexa="Light" }
Switch BackPorch_Light1 "Back Porch Light 1" <switch> (gBackPorch, gOutsideLights, gBackYardLights, gBackPorch_Switch2) ["Lightbulb"] { channel="mqtt:topic:backporch-switch2:power2", autoupdate="false", ga="Light", alexa="Light" }
Switch BackYard_Light "Back Porch Light 4" <switch> (gBackPorch, gOutsideLights, gBackYardLights, gBackPorch_Switch2) ["Lightbulb"] { channel="mqtt:topic:backporch-switch2:power3", autoupdate="false", ga="Light" }
Switch BackPorch_Light3 "Back Porch Light 3" <switch> (gBackPorch, gOutsideLights, gBackYardLights, gBackPorch_Switch2) ["Lightbulb"] { channel="mqtt:topic:backporch-switch2:power4", autoupdate="false", ga="Light", alexa="Light" }
semantic model
Group gOutdoor "Outdoor" ["Outdoor"]
Group gBackPorch "Back Porch" (gOutdoor) ["Porch"]
What I can see is that the item is a member of groups gOutsideLights and gBackYardLights.
gBackYardLights is a member of gOutsideLights
Could that cause the recursive membership?