Wake up to configurable actions at next alarm V2

blueprint:
  name: Wake up to configurable actions at next alarm V2
  description:
    Wakes you up to configurable actions at your phones next alarm with
    an offset
  domain: automation
  author: op00
  input:
    offset:
      name: Offset
      description: Set a offset in seconds to the next alarm. When (before) the action should run
      selector:
        number:
          min: 0.0
          max: 3600.0
          mode: box
          step: 1.0
          unit_of_measurement: Seconds
    alarm_source:
      name: Alarm Source
      description: Select the alarm source
      selector:
        entity:
          integration: mobile_app
          device_class: timestamp
          multiple: false
    alarm_helper:
      name: Alarm Helper
      description: Select the date time helper
      selector:
        entity:
          integration: input_datetime
          multiple: false
    active_hours:
      name: Active hours
      description: Only between set values below
      default: false
      selector:
        boolean:
    person:
      name: Person
      description: Select the person for the state condition
      selector:
        entity:
          integration: person
          multiple: false
    person_state:
      name: State of the person
      description: condition as to when the automation runs for the person selected
      selector:
        select:
          mode: dropdown
          options:
            - label: Home
              value: home
            - label: Away
              value: not_home
            - label: Unavailable
              value: unavailable
            - label: Unknown
              value: unknown
    actions:
      name: Actions
      description: Actions to run before alarm goes off
      default: []
      selector:
        action: {}
 variables:
  offset: !input offset
  hello: !input person
trigger:
  - platform: time
    at: !input alarm_helper
    id: wake_up
  - platform: state
    entity_id:
      - !input alarm_source
    id: helper_update
action:
  - choose:
      - conditions:
          - condition: trigger
            id: helper_update
          - condition: template
            value_template:
              '{{ trigger.to_state.state not in ["unknown","unavailable"]
              }}'
        sequence:
          - service: input_datetime.set_datetime
            data:
              timestamp: "{{ (as_timestamp(trigger.to_state.state) |int ) - (offset)}}"
            target:
              entity_id: !input alarm_helper
      - conditions:
          - condition: trigger
            id: wake_up
          - condition: state
            entity_id: !input person
            state: !input person_state
          - condition: or
            conditions:
              - condition: template
                value_template: "{{ active_hours == false }}"
              - condition: sun
                before: sunrise
                after: sunset
        sequence: !input actions
    default: []
mode: single

I tried to import this Blueprint but I got an error which says “No valid blueprint found in the topic. Blueprint syntax blocks need to be marked as YAML or no syntax.”