Automation condition from input_number

Hello

I want to use a value from input_number as a condition for one of my automation. What is the right format to use the variable?

image

How should I write this here?

This works for me:

1 Like

thank you very much. this works perfectly. :smiley:

it also works with ‘for’ this way:
for:
minutes: ‘{{states (’ ‘input_number.kamerlampen_aan_for’ ‘) | int (0)}}’
platform: template
value_template:> -
{{states (‘sensor.aeon_labs_zw100_multisensor_6_luminance’) | int <=
states (‘input_number.limit_value_room_lights’) | int}}

(you have to use the YAML-editor)