Get pronto to raw code

Hi, I just started with ESPHome and just dont know anything about it. I want to create a duplicate of my rf remote for my electrical fireplace. I think I succesfully did get all the codes the remote sends to the fireplace. But they are all in pronto and for the remote transmitter to work I need something different. Can anyone help me? There are 4 buttons; on, off, brighter, less bright.
I also attach the yaml code here.

esphome:
  name: rf-openhaard
  platform: ESP32
  board: esp32dev

logger:

api:

wifi:
  ssid: "ssid"
  password: "pw"


remote_transmitter:
  pin: GPIO4
  # RF uses a 100% carrier signal
  carrier_duty_percent: 100%

button:W
  - platform: template
    name: "Aan"
    on_press:
      remote_transmitter.transmit_raw:
        code: 

  - platform: template
    name: "Uit"
    on_press:
      remote_transmitter.transmit_raw:
        code: 

  - platform: template
    name: "Feller"
    on_press:
      remote_transmitter.transmit_raw:
        code: 

  - platform: template
    name: "Minder_Fel"
    on_press:
      remote_transmitter.transmit_raw:
        code: 

The codes for the diiferent buttons are:
on: 0000 006D 000B 0000 004C 0015 004B 0014 0011 004E 004A 0015 0012 004D 004B 0015 0012 004D 0012 004E 004A 0015 004A 0014 0012 009B

off: 0000 006D 000B 0000 004C 0015 004B 0014 0011 004E 004B 0015 0012 004E 004B 0015 004B 0014 004B 0015 0011 004E 0011 004E 0011 009B

brighter: 0000 006D 000B 0000 004C 0015 004A 0015 0012 004D 004B 0014 0012 004E 004A 0015 004B 0015 004B 0015 0011 004D 004B 0015 0011 009B

less_bright: 0000 006D 000E 0000 004E 0019 0019 0069 0047 004C 0014 004B 0015 0012 004D 004B 0015 0013 004D 004B 0015 0012 004E 004B 0014 004B 0015 0012 004E 0011 009B

Doesn’t make much sense… If you have codes in prontohex why don’t you use:

- remote_transmitter.transmit_pronto:
     data: "0000 006D 000B 0000 004C 0015 004B 0014 0011 004E 004A 0015 0012 004D 004B 0015 0012 004D 0012 004E 004A 0015 004A 0014 0012 009B"