Variables not showing up properly inside Templates in Blueprint Automation

I’m having some difficulty getting this blueprint to have my inputs “pre_alarm_time” and “alarm” to populate inside templates in the automation. After doing some digging, all I saw is to not include the template key inside single quotes as you would the traditional values, but when I setup the blueprint into an automation and check the trace, the automation config has the inputs properly displayed everywhere except inside the variables.

My variables are:

variables:
  alarm: !input alarm
  pre_alarm_time: !input pre-alarm_time

and the references within the blueprint/automation are this trigger:

  - platform: template
    value_template: >-
      {{ (as_timestamp(now()) + (60*pre_alarm_time))|timestamp_custom("%H:%M:%S") == state_attr(alarm, 'time') }}
    id: Alarm-Pre-Alarm
    alias: Alarm-Pre-Alarm

and these conditions for an action:

            conditions:
              - condition: template
                value_template: >-
                  {{ ['Mo','Tu','We','Th','Fr','Sa','Su'][now().weekday()] in state_attr(alarm, 'repeat') }}
              - condition: template
                value_template: >-
                  {{ state_attr(alarm, 'repeat') == [] }}

Here is the full yaml: blueprint.yaml · GitHub

For anyone who may stumble on this later, I found the solution was to use trigger_variables: instead of variables:. See here: Automation Trigger - Home Assistant

Hope this proves useful!