IR Remote Control interference

I have 2 air conditioners in one room, I am using two same IR Remote Control, I am getting interference, how can i avoid that?

Thank you

I have multiple AV equipment that I control through IR. I use global cache as a blaster.

Here is my Automation and script. If you don’t give time in between calls you end of with interference.

- id: 'Rack On-Off For Music'
  alias: Rack On-off for Music
  description: Boolean toggled from off to on. Run script to turn on music rack.
  trigger:
  - id: 'on'
    platform: state
    entity_id: input_boolean.rackmusic
    to: 'on'
    from: 'off'
  - id: 'off'
    platform: state
    entity_id: input_boolean.rackmusic
    to: 'off'
    from: 'on'
  condition: []
  action:
  - choose: 
    - conditions: "{{ trigger.id == 'off' }}"
      sequence:
      - service: script.avrack_off
    - conditions: "{{ trigger.id == 'on' }}"
      sequence:
      - service: script.avrack_on
    default: []
  mode: single

and here is the script

avrack_on:
  alias: Rack On For Music
  sequence:
  - service: switch.turn_on
    data: {}
    target:
      entity_id:
      - switch.media_room_rack_duplex
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 200
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.comm_closet_amp_duplex
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 200
  - service: remote.send_command
    data_template:
      entity_id: remote.nadz0
      command: poweron
      device: remote.nadz0
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 500
  - service: remote.send_command
    data_template:
      entity_id: remote.nadz0
      command: input4video4
      device: remote.nadz0
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 500
  - service: remote.send_command
    data_template:
      entity_id: remote.nadz1
      command: poweron
      device: remote.nadz1
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 500
  - service: remote.send_command
    data_template:
      entity_id: remote.denon
      command: poweronallzones
      device: remote.denon
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 500
  - service: media_player.media_play
    data: {}
    target:
      entity_id: media_player.daphile_coax
  mode: single
avrack_off:
  alias: Rack Off For Music
  sequence:
  - service: media_player.media_stop
    entity_id: media_player.daphile_coax
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 500
  - service: remote.send_command
    data_template:
      entity_id: remote.denon
      command: poweroffallzones
      device: remote.denon
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 750
  - service: remote.send_command
    data_template:
      entity_id: remote.nadz1
      command: poweroff
      device: remote.nadz1
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 750
  - service: remote.send_command
    data_template:
      entity_id: remote.nadz0
      command: poweroff
      device: remote.nadz0
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 750
  - service: switch.turn_off
    data: {}
    target:
      entity_id:
      - switch.media_room_rack_duplex
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 500
  - service: switch.turn_off
    data: {}
    target:
      entity_id: switch.comm_closet_amp_duplex
  mode: single
  icon: hass:music
avracktheater_on:
  alias: Rack On For Theater
  sequence:
  - service: switch.turn_on
    data: {}
    target:
      entity_id:
      - switch.media_room_rack_duplex
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 500
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.media_room_vizio_tv
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 500
  - service: remote.send_command
    data_template:
      entity_id: remote.nadz0
      command: poweron
      device: remote.nadz0
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 750
  - service: remote.send_command
    data_template:
      entity_id: remote.nadz0
      command: input1video1
      device: remote.nadz0
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 750
  - service: remote.send_command
    data_template:
      entity_id: remote.epson
      command: poweron
      device: remote.epson
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 750
  - service: remote.send_command
    data_template:
      entity_id: remote.hdmi
      command: gtvtomediaprojector
      device: remote.hdmi
  mode: single

I don’t have automation, just when I press the 1st remote will reflect on both remotes…