MQTT HVAC state?

Hello,

I am using MQTT IR to control Air Conditioner. Everything working fine except I can’t find how to add state when the AC is turned off by remote.

I have attached door sensor to AC, but where exactly I should add this binary sensor in configuration?

climate:
  - name: Living Room AC
    unique_id: hvaclivingroom
    max_temp: 32
    min_temp: 16
    precision: 1.0
    payload_on: "On"
    payload_off: "Off"
    modes:
      - "off"
      - "auto"
      - "cool"
      - "heat"
      - "fan_only"
      - "dry"
    swing_modes:
      - "auto"
      - "off"
    fan_modes:
      - "Max"
      - "Medium"
      - "Min"
      - "Auto"
    temperature_unit: C
    temperature_command_topic: "cmnd/living_room_ac/temperature/set"
    temperature_state_topic: "stat/living_room_ac/temperature"
    mode_command_topic: "cmnd/living_room_ac/mode/set"
    mode_state_topic: "stat/living_room_ac/mode"
    power_command_topic: "cmnd/living_room_ac/power"
    current_temperature_topic: "stat/living_room/living_room_temperature"
    fan_mode_command_topic: "cmnd/living_room_ac/fan/set"
    fan_mode_state_topic: "stat/living_room_ac/fan"
    swing_mode_command_topic: "cmnd/living_room_ac/swing"
    swing_mode_state_topic: "stat/living_room_ac/swing"