Loading presets wled

I manage to switch the presets from Developer Tools - Services but from the ui button it doesn’t work

Developer Tools - Services
service: wled.preset
target:
entity_id: light.wled
data:
preset: 2

-it’s ok it works

ui-booton
type: button
tap_action:
action: call-service
service: wled.preset
service_data:
preset: 2
target:
entity_id: light.wled
icon: mdi:led-on
name: preset 2

error
wled/preset. sequence item 0: expected str instance, Optional found

what am i wrong?
sorry translate - google translate

I succeeded with the script