Zigbee2mqtt switch + Tuya wifi downlight

I have added this switch to HA through zigbee2mqtt:
https://www.zigbee2mqtt.io/devices/ROB_200-008-0.html#robb-rob_200-008-0

And I have a Tuya Wifi downlight which I would like to dim up and down with the switch.

Here is the smart light entity:

It works with this simple automation, but the increments are to big. So basically it goes from 100%-5% straight away, it’s not possible to gradually dim it.

alias: Dim light down
description: ''
trigger:
  - platform: device
    domain: mqtt
    device_id: 7e2fb23f36fdb8a4caccc17b618bcd5d
    type: action
    subtype: brightness_move_down_1
    discovery_id: 0x000d6f000fd85946 action_brightness_move_down_1
condition: []
action:
  - device_id: 2081141cc4b688c8f26e5168955eedc4
    domain: light
    entity_id: light.smart_lamp
    type: brightness_decrease
mode: single

This is from the switch zigbee2mqtt document page, but since I’m a noob I do not know what to do with it?

simulated_brightness:
  delta: 20 # delta per interval, default = 20
  interval: 200 # interval in milliseconds, default = 200

Call the light.turn_on service as the action and just choose the percentage change you want for each press.

service: light.turn_on
target:
  entity_id: light.smart_lamp
data:
  brightness_step_pct: -15

Thank you for your reply Adam.

I think you are on to something, but it did not quite work.

When I hold the button down nothing happens, but when I release it the light dims to 0%. Maybe I need to add like a timer or something? Because the dimmer only sends the command action_brightness_move_down_1 no matter how long i press it.