Automating LG AC with ESPHome climate IR Control

Hello,
I’m trying to automate my ‘dumb’ LG AC . It’s an IR remote controlled AC , I already automated another ac using the coolix protocol . But automating this ac is not working , here is my code

remote_transmitter:
  carrier_duty_percent: 30%
  id: ir_transmitter
  pin:
    number: 04
   
remote_receiver:
  pin:
    number: 14
    inverted: True
  dump: all

#this is the off button code i captured
switch:
  - platform: template
    name: "AC off"
    turn_on_action:
      - remote_transmitter.transmit_lg:  
           data : 0x088C0051
           nbits: 28
        
climate:
  - platform: climate_ir_lg
    transmitter_id: ir_transmitter
    name: "Living Room AC"
   

I cannot figure out what is wrong with my code as the same code (replacing lg with coolix) is working for my other ac