Multiple output components for binary light

Hi,

i am trying to make lamp where i can turn on 2 or 4 bulbs. I’m want to do that, with two relays. One or two relays will be active, depending on choosen setting.
I made two output components, and tried to make binary light with two output components, and created two custom effects (first, turn on one relay, second one turn both relays).
I couldn’t assign two outputs for binary light. I don’t know how to properly write it, or is it impossible?