Automation condition with input button

Hello Guys,
I am a little bit struggling with automation condition for my morning routine trigger.
I have 3 automations

  1. Enable first morning trigger
alias: "Rutina - Enable First Morning Trigger "
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.period_of_day_newest
    to: dawn
    from: night
condition: []
action:
  - service: input_boolean.turn_on
    target:
      entity_id: input_boolean.trigger_first_morning
    data: {}
mode: single
  1. First move when I walk downstairs (PIR sensor)
type or paste code herealias: Rutina - Prvy pohyb dole schodami
description: ""
trigger:
  - platform: state
    entity_id: binary_sensor.mi_pir_predsien_occupancy
    from: "off"
    to: "on"
condition:
  - condition: state
    entity_id: input_boolean.trigger_first_morning
    state: "on"
  - condition: state
    entity_id: input_boolean.auto_cover_override
    state: "off"
action:
  - service: input_boolean.turn_off
    target:
      entity_id: input_boolean.trigger_first_morning
    data: {}
  - service: script.obyvacka_rolety_komplet_otvorit
    data: {}
  - service: script.svetlo_v_obyvacke_ak_je_tma
    data: {}
mode: single
  1. Disable First Morning Trigger
alias: Rutina - Disable First Morning Trigger
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.period_of_day_newest
    to: day
    for:
      hours: 3
      minutes: 30
      seconds: 0
  - platform: state
    entity_id:
      - input_button.vypni_auto_rolety
condition: []
action:
  - service: input_boolean.turn_off
    target:
      entity_id: input_boolean.trigger_first_morning
    data: {}
mode: single

To temporarily override automation 2. I have created input_button to Lovelace where I call input_boolean.turn_off for input_boolean.trigger_first_morning just to override this PIR actions.
Problem is that sometime can happen that after input_button is pressed and if it night few minutes before dawn, automation 1. kicks in again e.g. several minutes later.

I want to achieve something like - when input button is pressed make false condition for automation 1. to simply override it for whole day when button is pressed. Until next midnight. Just to make sure automation 1. never executes after button press.

I was thinking about to take button timestamp press and extract from it current day and evaluate so it returns false condition ?

{{ as_local(states.input_button.vypni_auto_rolety.last_changed) }}

Thanks a lot for hints.
Lukas