Automation logic

I have automation that when noone is home, the vacuum starts cleaning. So that the vacuum doesnt trip motion sensors on the alarm, I have it in bypass mode until the vacuum either goes back to the dock, or has an error, then the alarm goes into “away” mode that uses all sensors.
The problem is I dont want the vacuum to run every time noone is home. I would like for it to run 1 time each on Mon, Wed, Fri. I know how to create the schedule, but have not figured out how to make the alarm go straight to away mode when the vacuum isnt going to run.

alias: Set alarm to custom mode
description: Turn on alarm without motion sensors so vacuum can run.
trigger:
  - platform: state
    entity_id:
      - group.presence_home
    from: home
    to: not_home
    for:
      hours: 0
      minutes: 0
      seconds: 0
condition: []
action:
  - service: alarmo.arm
    data:
      entity_id: alarm_control_panel.alarmo
      skip_delay: true
      mode: custom
  - service: scene.turn_on
    target:
      entity_id: scene.turn_off_entertainment_center
    metadata: {}
  - device_id: 6ce0efab2dfe4794f0c53749802da9b0
    domain: lock
    entity_id: lock.front_door_lock
    type: lock
  - device_id: 1cf0d19e76cd13e53fdfe36968dc619f
    domain: lock
    entity_id: lock.back_door_lock
    type: lock
  - service: scene.turn_on
    target:
      entity_id: scene.interior_lights_off
    metadata: {}
  - service: notify.notify
    data:
      message: Alarm is in bypass mode and Rosie is putting in work
  - device_id: c917300012eeae93bd2f92f909056628
    domain: vacuum
    entity_id: vacuum.roborock_vacuum_a08
    type: clean
  - wait_for_trigger:
      - platform: state
        entity_id:
          - vacuum.roborock_vacuum_a08
        from: returning
        to: docked
      - platform: state
        entity_id:
          - vacuum.roborock_vacuum_a08
        to: error
    timeout:
      hours: 2
      minutes: 0
      seconds: 0
      milliseconds: 0
  - device_id: 9fb242f33bd049b284566c5c34c1b70b
    domain: alarm_control_panel
    entity_id: alarm_control_panel.alarmo
    type: arm_away
  - service: notify.notify
    data:
      message: Alarm has changed to Away mode
mode: single

Put the schedule condition in the actions (this is valid for script sequences and automation actions) after you arm the alarm but before the vacuum is run.

I think I found a way to make it work. I copied the first automation and set to run M,W,F and also added a condition for the vacuum to run once per day. Then on the other copy of automation, I set to run S,T,T,S, and just turn on alarm to away mode.
My automations are definitely starting to step up their game, from simple walk in room, turn on light.

alias: Turn on alarm run vacuum
description: Turn on alarm without motion sensors so vacuum can run.
trigger:
  - platform: state
    entity_id:
      - group.presence_home
    from: home
    to: not_home
    for:
      hours: 0
      minutes: 0
      seconds: 0
condition:
  - condition: time
    before: "00:00:00"
    weekday:
      - mon
      - wed
      - fri
    after: "00:00:00"
action:
  - service: scene.turn_on
    target:
      entity_id: scene.turn_off_entertainment_center
    metadata: {}
  - device_id: 6ce0efab2dfe4794f0c53749802da9b0
    domain: lock
    entity_id: lock.front_door_lock
    type: lock
  - device_id: 1cf0d19e76cd13e53fdfe36968dc619f
    domain: lock
    entity_id: lock.back_door_lock
    type: lock
  - service: scene.turn_on
    target:
      entity_id: scene.interior_lights_off
    metadata: {}
  - if:
      - condition: state
        entity_id: input_boolean.rosie_ran_today_input_boolean
        state: "off"
    then:
      - service: alarmo.arm
        data:
          entity_id: alarm_control_panel.alarmo
          mode: custom
      - device_id: c917300012eeae93bd2f92f909056628
        domain: vacuum
        entity_id: vacuum.roborock_vacuum_a08
        type: clean
      - service: notify.notify
        data:
          message: Rosie cleaning, alarm in bypass
      - wait_for_trigger:
          - platform: state
            entity_id:
              - vacuum.roborock_vacuum_a08
            from: returning
            to: docked
          - platform: state
            entity_id:
              - vacuum.roborock_vacuum_a08
            from: cleaning
            to: error
        timeout:
          hours: 2
          minutes: 0
          seconds: 0
          milliseconds: 0
      - device_id: 9fb242f33bd049b284566c5c34c1b70b
        domain: alarm_control_panel
        entity_id: alarm_control_panel.alarmo
        type: arm_away
      - service: notify.notify
        data:
          message: Rosie finished cleaning, alarm armed away mode
      - condition: state
        entity_id: vacuum.roborock_vacuum_a08
        state: docked
      - service: input_boolean.turn_on
        data: {}
        target:
          entity_id: input_boolean.rosie_ran_today_input_boolean
    else:
      - device_id: 9fb242f33bd049b284566c5c34c1b70b
        domain: alarm_control_panel
        entity_id: alarm_control_panel.alarmo
        type: arm_away
      - service: notify.notify
        data:
          message: Rosie already cleaned today, alarm armed away mode
mode: single

And then the days to not run vacuum

alias: Turn on alarm no vacuum
description: Away mode no vacuum
trigger:
  - platform: state
    entity_id:
      - group.presence_home
    from: home
    to: not_home
    for:
      hours: 0
      minutes: 0
      seconds: 0
condition:
  - condition: time
    before: "00:00:00"
    weekday:
      - tue
      - thu
      - sat
      - sun
    after: "00:00:00"
action:
  - service: alarmo.arm
    data:
      entity_id: alarm_control_panel.alarmo
      skip_delay: true
      mode: away
  - service: scene.turn_on
    target:
      entity_id: scene.turn_off_entertainment_center
    metadata: {}
  - device_id: 6ce0efab2dfe4794f0c53749802da9b0
    domain: lock
    entity_id: lock.front_door_lock
    type: lock
  - device_id: 1cf0d19e76cd13e53fdfe36968dc619f
    domain: lock
    entity_id: lock.back_door_lock
    type: lock
  - service: scene.turn_on
    target:
      entity_id: scene.interior_lights_off
    metadata: {}
  - service: notify.notify
    data:
      message: Alarm is in away mode and Rosie is putting in work
mode: single