In the Filters section you can create condition groups, which is great.
When building automations, you should be able to also creats condition groups to allow for more specific conditions like the use of AND and OR statements together, in different condition groups.