Node red - switch node - check sensor with input_select sensor

Hi all,
I have the following sensors:

  1. input_number.slider1 - Where I set the trigger temperature!
  2. sensor.dark_sky_temperature - Where I read the weather temperature!

I am receiving a payload with the temperature in a switch node and I would like to compare it with the input_number.slider1, something like this:

Does someone have some idea how can I do that?

Br

Oescafandrista