Lovelace Conditional Card using OR / ANY

Is it possible to create a conditional card using OR or ANY?

I’m trying to create a card to “Turn off light group A”
if any light from that group is “on”
using
light a “on”
OR
light b “on”
OR
light a “on”

Why not put the group entity in an entities card?

If any light in the group is on it will appear on.

I just discovered the conditional card and started thinking of various ways to use them.
They all involve using an OR / ANY scenario.

For the lights group I’ll try what you said.

thanks