How to create your own 433MHz RF Smart Outlets?

I followed BRUH Automation for trigger 433mhz Socket with Home Assistant. I received codes from remote control and make a switch in configuration.yaml. I can trigger codes with Homeassistant but can’t access socket with these codes. Please help me. watch >>>> Video

try pressing the on button in short pulses 3 or four times to see what you get on the output and hold the remote as close to the receiver as close as possible…let me know what you get.
from what i can see in your video you need

protocol: 1
pulselength: 319
code_on: 1114389
code_off: 1114388

Thanks, Short pulses are almost 317. When i push the remote button receiving different rfrx code, pulselength & protocol , but code not working in Home Assistant.
I have tried pulselength: 314 or 317 or 318 or 319 or 500 or 502 codes. Run multiple codes in a sequence like (code_on: 1114389,2103198,6292376 ) but without success.

    switch:
      platform: rpi_rf
      gpio: 17
      switches:
       bedroom_light:
         protocol: 1
         pulselength: 314
         code_on: 1114389
         code_off: 1114388

OR

switch:
  platform: rpi_rf
  gpio: 17
  switches:
   bedroom_light:
     protocol: 1
     pulselength: 319
     code_on: 1114389,2103198,6292376 
     code_off: 1114388,33554464,40707376