Thermostat card - Swing modes inverted?

I justa added climate swing modes to my Thermostat Cards, and I noticed that the when I click on “Off”, it gets highlighted (as shown below), but the AA starts swinging and viceversa? How can I fix that?

Relevant ESPHome code:

remote_receiver:
  id: aa_oficina_rcvr
  pin:
    number: 2
    inverted: true
    mode: INPUT_PULLUP
  dump: coolix

remote_transmitter:
  pin: 3
  carrier_duty_percent: 50%

climate:
  - platform: coolix
    name: "AA Oficina"
    sensor: temp_oficina
    receiver_id: aa_oficina_rcvr
    visual:
      min_temperature: 17
      max_temperature: 30
      temperature_step: 1.0