Automate vacuum when everyone leaves + when notification is pressed

Hello, so I was able to get my automation to the point that the Vacuum start when we/I leave the house and send my phone notification with the question and answer, but sadly that’s about it, I can’t get it to actually trigger the automation when I press the notification answer. Started with HA yesterday, so I am pretty new.

alias: Testing
description: ""
trigger:
  - platform: state
    entity_id:
      - device_tracker.sm_s918b
    from: home
    to: not_home
    id: leaves
condition:
  - condition: state
    entity_id: device_tracker.sm_s918b
    state: not_home
action:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - leaves
        sequence:
          - action: notify.mobile_app_sm_s918b
            metadata: {}
            data:
              message: Wanna mop?
              title: HOOVER
              data:
                actions:
                  - action: Vacuum
                    title: "Yes"
      - conditions:
          - condition: trigger
            id:
              - test
        sequence:
          - action: vacuum.start
            metadata: {}
            data: {}
            target:
              device_id: 0f0a7e63b2668d2dc0b189f6fef15500
mode: single

Please don’t judge it, I am still trying to learn.
So the question is:
How do I make my “Yes” to actually trigger my vacuum to start?

I am aware I am missing whole notification pressed trigger at the top, I just don’t know how to set it

Figured it out now.

I just need somehow a help on how to enable the automation only if the Vacuum hasn’t been cleaning in the last xx hours.

@Edit

Well, got it myself. Seems like sometimes it’s just good to play around.

alias: Roborock if leaved home
description: ""
trigger:
  - platform: state
    entity_id:
      - device_tracker.sm_s918b
    to: not_home
    id: test
  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: START
    id: asd
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - test
            enabled: true
        sequence:
          - action: notify.mobile_app_sm_s918b
            metadata: {}
            data:
              data:
                actions:
                  - action: START
                    title: Startuj
              title: Sprzątanko
              message: Posprzątać dom?
      - conditions:
          - condition: trigger
            id:
              - asd
        sequence:
          - action: vacuum.start
            metadata: {}
            data: {}
            target:
              device_id: 0f0a7e63b2668d2dc0b189f6fef15500
          - action: notify.mobile_app_sm_s918b
            metadata: {}
            data:
              message: No to sprzątam.
          - action: automation.turn_off
            metadata: {}
            data:
              stop_actions: false
            target:
              entity_id: automation.noti
          - delay:
              hours: 0
              minutes: 0
              seconds: 30
              milliseconds: 0
          - action: automation.turn_on
            metadata: {}
            data: {}
            target:
              entity_id: automation.noti
    enabled: true
mode: single