IR Learn script for RM4 mini

Hello,
i have 3 ceiling fans and 3 Broadlink RM4 mini remote controls…
I’m trying to learn, but the codes are stored only on the one remote…
this is my script…

alias: Learn Ceiling Fan Kitchen
sequence:
  - service: remote.learn_command
    data:
      device: ad110_fan_kitchen
      command:
        - light_on
        - light_off
        - fan_hi
        - fan_mid
        - fan_low
        - fan_off
    target:
      entity_id:
        - remote.ad110_livingroom
        - remote.ad110_kitchen_remote
        - remote.ad110_bedroom_remote
mode: single
icon: mdi:ceiling-fan-light