Repeat Until - OR Condition

I have automation that checks with MQTT sends over the Unlocked attribute for my laptop.
I noticed every so often when I turn my laptop off, it does not send over the “Unavailable” or “Unknown” attribute.
So I am creating automation that checks the MQTT, reloads it, and if the state is not Unavailable OR Unlocked, it repeats.

I think the two conditions under Until are being used as AND, not OR.

How would I make them OR?

alias: Reload Drum Machine Laptop
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.drummachine5150_sessionstate
    to: Unlocked
condition: []
action:
  - repeat:
      sequence:
        - service: homeassistant.reload_config_entry
          target:
            device_id: 7d0654ccf5e27361901a52af9c39e6e6
          data: {}
        - delay:
            hours: 0
            minutes: 5
            seconds: 0
            milliseconds: 0
      until:
        - condition: state
          entity_id: sensor.drummachine5150_sessionstate
          state: unavailable
        - condition: state
          entity_id: sensor.drummachine5150_sessionstate
          state: unknown
mode: single

The logical default of multiple conditions in series is AND… if you want them to be interpretted as OR you can nest them under an Or condition, modify your State condition using a list for multiple conditions or use match: any (see the 3rd example) for multiple entities.

      until:
        - condition: state
          entity_id: sensor.drummachine5150_sessionstate
          state: 
            - unavailable
            - unknown