Aqara Hub M3 with AC Connection, W100, and FP300 Automation

I would try using the state of one lamp from the group as a condition in IF. Automation 2.0, lesson 8, using group lamp control using scene's