Error with blueprint

I created the blueprint as noted below.

blueprint:
  name: Temperatuur
  description:
    Notification when it's cold in a certain room
  domain: automation
  input:
    temp_sensor:
      name: "Temperature sensor"
      selector:
        entity:
          domain: sensor
          device_class: temperature
    trigger_temperature:
      name: "Trigger temperature"
      description: Min temp to trigger
      default: 17
      selector:
        number:
          min: 10.0
          max: 25.0
          unit_of_measurement: "degrees"
          step: 0.1
          mode: slider
    actions:
      name: Actions
      description: What to do when threshold reached.
      selector:
        action:
variables:
  entity_name: "{{ states[trigger.entity_id].friendly_name }}"
  battery_level: "{{ states(trigger.entity_id) }}"
trigger: 
  - platform: numeric_state
    entity_id: !input temp_sensor
    below: !input trigger_temperature
action: !input actions

It gives me the following error:

invalid automation with inputs OrderedDict([('message', ' {{ entity_name }} battery has dropped to {{ temperature_level }}% '), ('window_entity', 'binary_sensor.deur_kinderkamer'), ('temperature_entity', 'sensor.temperature_kinderkamer'), ('notify_device', '621869ba5dd715a0989efa6d994c05e3'), ('temperature_level', 15.7)]): extra keys not allowed @ data['below']. Got None

I’m not sure what the issue is, could anyone help me?
Side note: I get this in multiple blueprints with the “below:”

I’d start with entity_name: "{{ states(trigger.entity_id).friendly_name }}" (swap braces for parentheses) as braces here are not correct.