Broadlink RM4 Pro-codes format in switch yamal file

I am totally new to this, so forgive me if this has been answered before.

I have all three devices integrated and i have the codes for the remote stored in the storage folder. The device is referenced in the configuration yaml as below:-

  - platform: broadlink
    mac: 24:df:a7:e4:88:fd
    name: RM4 Pro

I have a separate switch to place the codes. can someone give me an example of how the codes are written in the switch file.