4 min read

How to connect your air conditioners to Home Assistant

An overview of the ways an air conditioner can become a “climate” entity in Home Assistant: the factory Wi-Fi module, the manufacturer’s integration or an infrared transmitter. What to ask before you buy.

Level
Intermediate
Active time
30–120 minutes
Home Assistant required
Yes

The air conditioner switches on with a remote, but you want to see and command it from the same place you control the lighting. The good news is that most air conditioners have at least one route to Home Assistant. The bad news is that there is no single one.

We don’t sell air conditioners or modules for them. The article helps you choose a route.

What you will get

  • A clear framework for which connection method to look for.
  • An idea of what the entity gives you climate: mode, target temperature, fan.
  • An example automation for an open window that restores the previous state.

What you need

  • The exact model of the air conditioner and whether the manufacturer offers a Wi-Fi module or an app.
  • Home Assistant. Don’t buy anything for the air conditioner before you check the support below.
  • Optionally, a window sensor for the open-window automation; our catalogue has them.

How it works

Home Assistant has a common entity type climate. It describes a thermostat with modes (heating, cooling, auto, off), a target temperature and often a fan. The integration is what translates the air conditioner to this entity.

There are three broad routes:

  • The manufacturer’s integration. If the air conditioner has a Wi-Fi module, there is often an integration in Home Assistant, cloud-based or local. Check in the integrations list whether your brand is there.
  • A common protocol. Some air conditioners and modules speak Matter or MQTT; then the integration is more universal.
  • An infrared transmitter. A device “repeats” the remote. It works with an air conditioner that has no network, but it is one-way: Home Assistant doesn’t know the real state of the appliance, only its own last command.

Which route is for you depends on the model. We don’t guess.

How it is at our place

Marto’s Home Assistant has climate entities for the bedroom, the kids’ room and the living room. The air conditioners also have Shelly metering devices, and the automations show overpower protections.

Marto’s open-window automation is in three parts. After 5 minutes with the window open, it saves the air conditioner’s state in a scene. In “heating” mode it lowers it to 20 °C (if it was above that), in the other modes it switches it off. A second automation restores what was saved when the windows close.

Steps

  1. Find the model of the air conditioner and of its module. Check in the Home Assistant documentation whether there is an integration for your brand.
  2. Add the integration: Settings → Devices & services → Add integration. You should see an entity climate.<name>.
  3. Try it by hand from the entity: change the mode and the temperature and see whether the appliance reacts.
  4. Start with a notification, not a command. Example: a notification when the window has been open for 30 minutes and the air conditioner is running. The entities are examples:
alias: Air conditioner – window open
triggers:
  - trigger: state
    entity_id: binary_sensor.prozorets_spalnya
    to: "on"
    for: "00:30:00"
conditions:
  - condition: not
    conditions:
      - condition: state
        entity_id: climate.spalnya
        state: "off"
actions:
  - action: notify.mobile_app_telefon
    data:
      message: The window is open and the air conditioner is running.
mode: single
  1. When the notification is accurate, add a command. Save the state with a scene (scene.create with snapshot_entities), change the mode and restore the scene when the window closes.

Checking the result

  • Change the temperature from Home Assistant and see whether the appliance is at the same value.
  • Switch the air conditioner on with the remote. With a full integration, Home Assistant sees the change; with an infrared transmitter, it doesn’t.
  • Open the window, wait for the threshold and check the notification and the restore.

If it doesn’t work

  • The entity isn’t there: the model isn’t supported by the integration. Go back to step 1.
  • The state in Home Assistant doesn’t match the appliance: the route is one-way or the remote was used.
  • It lags: the integration goes through the cloud. Don’t use it for quick reactions.
  • The automation doesn’t restore the mode: the scene was created while the appliance was off. Check the condition.

Limitations

With a cloud integration, control stops without the internet.

Sources and verification status

At home

Marto

Marto's Home Assistant has separate climate entities for the bedroom, the kids' room and the living room, as well as metering devices on the air conditioners. Automations stop them or lower the temperature when a window is left open, and bring them back when the window closes.

Need a hand?

We can set up and install everything in this project. In some regions we install it ourselves — ask us.

Contact us

Related projects

Added to cart

Real Home Automations

Sign in to your account

With a code sent to your email

Continue with Google
or

By continuing, you accept the Terms and Conditions and the Privacy Policy.