Can you pass wildcards to entity strings in Node RED?

I’m coming to grips with the basics of Node-RED.

My use case is a little chore management system that I’m building.

I’ve created all the chores as Booleans matching this format:

input_boolean.chore*

E.g.

input_boolean.chore20

As part of an automation, I’d like to create a rule to be actioned when any of the chore Booleans are toggled to “On”.

Can I add the wildcard to the entity string?

Yes. Use the events: state node and next to the entity change ‘exact’ to ‘substring’. You can use regex also but substring will work for your case.

Many thanks!