Maybe use a value_template. I’m not sure if what is being returned is a number of a string (you may have to play with it some), but here is something to try if its a string: value_template: "{% if value == '111111' %}true{% else %}false{% endif %}"
Here is lot combination of output number. 111111 is only , if ALL output ON, 101111 is only if all output ON, exept OUT 1 is OFF… i hope you understand… in this case, should only be looking at the second number in the string for OUT1, and for OUT2 only the third number…
Here is something for you to try specifically for out1: "{% if value | int(base=2) | bitwise_and(16) >0 %}true{% else %}false{% endif %}"
For out0 (leftmost bit), use bitwise_and(32)
For out5 (rightmost bit), use bitwise_and(1)
In other words, as you move from leftmost bit to right most bit, use 32,16,8,4,2,1 respectively.
You can try this out in the Developers Tool->Template using: