Skip to content

Create a binding

A binding tells one device (the source, such as a remote or wall switch) to send its commands straight to another device or a group (the target, such as a light). Once it's made, the two talk directly, without Home Assistant in between.

There are three ways to make one. Pick by what you're doing:

You want to… Use
Make a remote or switch control one or more lights, plugs or blinds The guided setup. It picks the clusters, can use a group, and tests the result. See Make a remote control some lights.
Bind one device to another, choosing exactly what's bound Drag on the Map, below.
Bind a particular endpoint or cluster, to a group or to the coordinator The Advanced tab, below.

If you're not sure, start with the guided setup.

Drag on the Map

  1. Open the Map (or the Floor Plan). Run Scan bindings first if you haven't, so you can see what's already bound.
  2. Drag the source device onto the target, and let go when the target lights up.

    • Dropped on a device, the card opens the Advanced tab with both filled in, and picks a cluster the source sends and the target receives (On/Off, if they share it).
    • A remote or switch dropped on a group opens the guided setup instead, with that group's lights already chosen.

    Dropping a switch onto a plug: the target gets a blue ring
    3. On the Advanced tab, check the source endpoint, target endpoint and cluster. A multi-gang switch has one endpoint per button or rocker: pick the one that should control this target. 4. Select Bind.

The Advanced tab after the drop: source, target and cluster filled in, with what's already bound on the right

Dragging a device and dropping it on empty space just moves it. Positions are saved.

Start from a device's bindings

On the Bindings tab, search for a device (or choose Show its bindings in its side panel). The banner above the table has Add binding from that device, which opens the Advanced tab with it as the source. Choose a target and select Bind.

What happens when you select Bind

The card asks zha-toolkit to bind, then reads the source's binding table again to see whether the binding is really there. It judges the result by the table, not by what zha-toolkit said, because zha-toolkit sometimes reports a failure for a bind that worked, and the other way round. You'll see one of:

  • Binding confirmed on the device. Done. The new binding also appears in the lists on the right.

    Binding confirmed on the device

  • Already bound. The device had this binding before.

  • Not confirmed yet. The source didn't answer the check, which is normal for a battery remote that's asleep. The binding shows as a dashed line on the Map, and the Bindings tab lists it under changes not confirmed yet. Press a button on the remote, then select Check again. Any later read of the remote settles it too. The card remembers an unconfirmed change for 14 days; Dismiss stops tracking it (nothing is sent to your devices).

    A bind a sleeping remote hasn't confirmed yet

  • Bind failed. The device answered and the binding isn't there. Often its binding table is full (many devices only have room for 8 to 16), or it doesn't accept that cluster on that endpoint.

Battery remotes

A sleeping remote ignores the bind as well as the check. Press one of its buttons just before you select Bind, and again if the result says not confirmed.

Then test it

A stored binding isn't the same as a working one. Press the remote and check the light responds. If it doesn't:

To undo a binding, see Tidy up bindings I don't want.