Value to python script

Hi All !!!
I need to send a value with input_number.
I use this scheme.

  • platform: command_line
    switches:
    new1:
    command_on: python3 /config/python_scripts/dim_01_03_new.py 100

it works like

-platform: command_line
switches:
new1:
command_on: python3 /config/python_scripts/dim_01_03_new.py {{status.input_slider.dimr. state}}

not working

dim:
name: dim
initial: 0
min: 0
max: 100
step: 1

Thanks