Assigning modbus reading to slider value?

In configuration.yaml I have set up a modbus reading every 10 sec,
the value of this reading I would like to assign directly to slider value, is this possible and if so how is the best way to do it?

configuration.yaml →
modbus:

  • name: WAGO-1
    type: tcp
    host: 192.168.50.21
    port: 502
    delay: 1
    message_wait_milliseconds: 10
    retries: 3
    timeout: 5
    sensors:
    • name: WagointModbus1
      scan_interval: 10
      slave: 1
      address: 12288
      -<

Would like to assign ‘WagointModbus1’ reading to set the slider ‘input_number.slidermodbus’

Any pointer I the right direction much appreciated!