Esphome + climate + fujitsu IR AC

Hello, I 've a problem with ir fujitsu climate; so I see the climate card in the lovelace and the card work correctly, but the ir code probabily is not right for the split. In the configuration I create 2 button to send two code that i found with the original remote AR-DB1 and all button work. So can someone help me to understand the card send the wrong code?

this is yaml file per esphome:

esphome:
  name: trasmettitore-ir

esp8266:
  board: esp01_1m

# Enable logging
logger:

# Enable Home Assistant API
api:
  

ota:
  password: "1xxxxxxxxxxxxxxxxxxxxxxxx111"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
# Directly connects to WiFi network without doing a full scan first
  fast_connect: true
  # Optional manual IP
  manual_ip:
    static_ip: 192.168.1.63
    gateway: 192.168.1.1
    subnet: 255.255.255.0
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Trasmettitore-Ir"
    password: "UXvJOYuKa43J"
#web server
web_server:
  port: 80
  auth:
    username: !secret web_server_username
    password: !secret web_server_password

captive_portal:
#sensor
sensor:
  - platform: homeassistant
    name: "Temperatura soggiorno"
    entity_id: sensor.temperatura_soggiorno
    id: sensortempsogg
  
status_led:
  pin: GPIO4

# Example configuration entry
remote_transmitter:
  pin: GPIO14
  carrier_duty_percent: 50%
# Example configuration entry
remote_receiver:
  id: ricevitore
  pin: 
    number: GPIO12
    inverted: true
    mode:
      input: true
      #pullup: true
  dump: all

climate:
  - platform: fujitsu_general #heatpumpir
    #protocol: panasonic_dke
    #horizontal_default: auto
    #vertical_default: auto
    #max_temperature: 30
    #min_temperature: 16      # adjust to match your AC unit!
    visual:
      min_temperature: 16
      max_temperature: 30
      temperature_step: 0.1
    name: "Fujitsu soggiorno"
  
    receiver_id: ricevitore
    sensor: sensortempsogg

# Individual switches
button:
  - platform: template
    name: "Fujitsu test"
    on_press:
      - remote_transmitter.transmit_aeha:
          address: 0x28C6
          data: [0x00, 0x08, 0x08, 0x3F, 0x10, 0x0C, 0x81, 0x40, 0xC0, 0x00, 0x00, 0x00, 0x52]

  - platform: template
    name: "Fujitsu off"
    on_press:
      - remote_transmitter.transmit_aeha:
          address: 0x28C6
          data: [0x00,0x08,0x08,0x40]
      

You probably need to configure a DIY thermostat using the temp sensor and on/off codes rather than using the Fujitsu one.

You might want to consider combining the on/off codes into a template switch and using that.

You might want to repeat sending the codes a few times.

I actually have a door sensor on the flap of my Aircon to confirm it’s on/off state. The remote with repeat if the target on/off state isn’t confirmed after a few seconds.