Smart app to control group of lights with motion sensor and not turn on those that were off originally?

Grouping lights can be done, but since you want to track states individually, I really do think Core is going to be your best choice. It is complicated to set up, but fortunately there is a forum thread where people are happy to help with getting any individual rule (which core calls a piston) designed. So I would ask there and I’m sure someone can get you set up. :sunglasses: