Error with multiple remote receivers and automations

I’m working on a multi-zone AV controller based on ESP32 with a universal remote. I have three IR receivers - one for each room with AV - to determine which room the remote control is in and therefore which TV to turn on. I bailed on using binary sensors to detect IR button presses because my 44 button remote x 3 rooms meant too many sensors to fit in the ESP’s memory. So I’m now looking at the on_nec automation under remote_receiver but my yaml won’t validate due to this error:

Too many candidates found for ‘receiver_id’ type ‘remote_base::RemoteReceiverBase’ Some are ‘lounge_receiver’, ‘kitchen_receiver’, ‘bedroom_receiver’.

Here’s my yaml producing this error:

remote_receiver:
  - id: lounge_receiver
    pin:
      number: 36
      inverted: true
    dump: all
    tolerance: 55%
    on_nec:
      - if:
          condition:
            and:
              - lambda: return x.address == 0xBF00;
              - lambda: return x.command == 0xF20D; # Power button
          then:
            if:
              condition:
                - text_sensor.state:
                    id: lounge_activity
                    state: "Off"
              then:
                - switch.turn_off: av_power
              else:
                - script.execute: power_off_lounge

  - id: kitchen_receiver
    pin:
      number: 13
      inverted: true
    tolerance: 55%
    on_nec:
      - if:
          condition:
            and:
              - lambda: return x.address == 0xBF00;
              - lambda: return x.command == 0xF20D; # Power button
          then:
            if:
              condition:
                - text_sensor.state:
                    id: kitchen_activity
                    state: "Off"
              then:
                - switch.turn_off: av_power
              else:
                - script.execute: power_off_kitchen

  - id: bedroom_receiver
    pin:
      number: 2
      inverted: true
    tolerance: 55%
    on_nec:
      - if:
          condition:
            and:
              - lambda: return x.address == 0xBF00;
              - lambda: return x.command == 0xF20D; # Power button
          then:
            if:
              condition:
                - text_sensor.state:
                    id: bedroom_activity
                    state: "Off"
              then:
                - switch.turn_off: av_power
              else:
                - script.execute: power_off_bedroom

Any ideas on how to proceed here?

I should clarify that it’s the “on_nec” that’s highlighted as causing the error.