Automation to increase brightness only when a bulb in a light group is on

If your lights are all zigbee based and on Deconz then this works like you want it.