Automation trigger when x of y booleans are on

Hello,

I’m trying to create automation which trigger only when 3 of 7 booleans are on (no mater which one). Is it possible to done it without big and/or condition with all possibilities?

Thanks

Create a Template Condition that counts the number of input_booleans that are on and checks if it’s equal to 3.

If you need help composing the Template Condition, I’ll need to know if you have a group containing the 7 input_booleans. Let me know if you don’t have them grouped.

@123 Thank you for reply and suggestions, in the end I used counter with some if/then sequence for this task. But thank you anyway.

Share what you created so others can benefit from it.