Create a pushbullet when input_slider value is true

Hi there,
I have a entity_id: sensor.eurotronic_eur_cometz_wall_radiator_thermostat_valve_control_temperature_8_1
which does show a temperature. I do have a input_slide Grad and a template sensor which does contain the value of the input_slider.

Now I wanna create a notify.my_pushbullet when the temperature falls below the value of the slider.

the below trigger seems not to work:

Just wonder how I could replace the “below: 12.0” with a variable of the input slider.

Try

below: '{{ states("input_slider.SOME_NAME") | int }}'

But I’m not sure if it works

Nope does not work. hass --script check_config throws an error. Coment this line out, things are fine

Ok, try to use condition:

- alias: 'Alert on Low temperature'
  trigger:
    platform: state
    entity_id: 
      - sensor.TARGET
      - input_slider.grad
  condition:
    condition: template
    value_template: '{{ (states("sensor.TARGET") | float) < (states("input_slider.grad") | float) }}'
  action:
    service: notify.my_pushbullet
    data:
      message: 'Temperature below 12 Grad - Bad'

EDIT: Added input_slider to trigger

Another try:

- alias: 'Alert on Low temperature'
  trigger:
    platform: template
    value_template: '{{ (states("sensor.TARGET") | float) < (states("input_slider.grad") | float) }}'
  action:
    service: notify.my_pushbullet
    data:
      message: 'Temperature below 12 Grad - Bad'

Thanks. The Trigger platform: template made it.