Exclude in a template?

| rejectattr('entity_id', 'in', filter)

Working out how to differentiate the entities you dont want and storing them in the variable filter is the tricky part.

See petro’s post here:

1 Like