Dimmer (slider) automation

First, i’m not sure if i’m in the right place here if not, feel free to move the topic.

What i have are rf leds in my garden. they dim from
OFF - ON
10% - 20% - 40% - 60% - 80% - 100%

now i wish to have a slider in the front on changing the slider the corresponding percentage should be send to the RF leds.

how can i do this.