Light Group Query

Hey, folks. Can’t seem to find the way to do this properly. I’d like to be able to shut down a whole bunch of lights downstairs using a button. I created a light group that consists of multiple other light groups (say basement lights and backyard ones). The actual lights are a combination of zwave, wifi and Lutron Casseta switches. Probably 30 lights or so all over the place. The idea is that I would simply use the group to turn off the lights, never on. I use node-red, but I can easily reproduce the issue by manually toggling the group off. When I do that, some kind of raise condition is created. The lights start to turn on and off randomly. In one case I think home assistant crashed or became unresponsive for some time. After some troubleshooting I figured a way to stop this by disabling the group entity. The entity appears to be correctly on when at least one light is on, but as soon as I trigger the off state for the group, all hell breaks loose. Any thoughts?
I am guessing what must be happening is that the lights are not all going to turn off simultaneously which creates a raise condition for the group. I wonder if I am doing this incorrectly or if there is a
better way to accomplish this. And one other wrinkle. I think this development is new. I have created the group some time ago, but did not use it much (because of issues with the Ikea tradfri buttons). I did use it a couple of times and it worked ok. Thanks

Home Assistant 2023.2.5
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230202.0 - latest

Thanks

Is it possible that you have the same light in more than one group ?

Although it still doesn’t make any sense, and I can’t see this being a race condition unless you have another automation turn on light groups under another automation.