OR conditions not working as expected

I have an automation with two conditions. I want the actions to trigger if EITHER of the two conditions is met, but NOT if neither if them are met. At the moment, it is ALWAYS being triggered. Can anyone explain what I’m doing wrong?

This is the automation:

alias: Parking booking email arrives
triggers:
  - event_type: imap_content
    event_data:
      sender: [email protected]
      initial: true
    trigger: event
  - event_type: imap_content
    event_data:
      sender: [email protected]
      initial: true
    trigger: event
conditions:
  - condition: or
    conditions:
      - condition: template
        value_template: "{{ 'new booking' in trigger.event.data.subject }}"
      - condition: template
        value_template: "{{ 'Booking received' in trigger.event.data.subject }}"
actions:
  - action: media_player.play_media
    target:
      entity_id: media_player.bedroom
    data:
      media_content_id: /local/parking-booking.mp3
      media_content_type: music

Please try this:

conditions:
  - condition: or
    conditions:
      - condition: template
        value_template: "{{ trigger.event.data.subject == 'new booking' }}"
      - condition: template
        value_template: "{{ trigger.event.data.subject == 'Booking received' }}"

Same thing - it gets triggered whenever I get an email from one of the email addresses specified, regardless of the subject.

Check the automation’s trace. It shows the result of each step of the automation’s processing.

What’s in trigger.event.data.subject when you receive an email?

{{ trigger.event.data.subject }}