A burst geyser pipe or a door left open while you are out are exactly the events you want to know about the second they happen, not hours later. In Home Assistant, that speed comes from automating your sensors. Learning to automate leak and door sensors in Home Assistant turns a simple state change, wet or dry, open or closed, into an instant push notification, and it can go further by shutting a smart valve the moment water is detected.

Quick Answer

Leak and door sensors report as binary sensors with two states, and an automation fires the instant that state changes, sending a push notification straight to your phone. A water-leak sensor flipping to wet can trigger a notification and, if you have a smart valve, close the water supply automatically. A door sensor flipping to open while you are away can alert you immediately and even attach a camera snapshot.

How Binary Sensors Work

Both sensor types are binary sensors: they hold one of two states. A door or contact sensor is open or closed; a leak sensor is wet or dry. Home Assistant watches these states constantly, so an automation can trigger on the exact moment one flips, which is what makes the alert instant rather than delayed. Understanding that the trigger is a state change, not a schedule, is the key to building alerts that fire the moment something actually happens.

Building A Leak Alert

Start with the water sensor, since a leak is the higher-stakes event.

  1. Place the sensor where leaks start. Put a Zigbee or Wi-Fi water-leak sensor under the geyser, behind the washing machine, or under a sink, the low points where water pools first.
  2. Create a new automation. In Settings, then Automations and Scenes, add an automation and set its trigger to the leak sensor changing state to wet.
  3. Add a notification action. Set the action to send a notification to your phone, with a clear message like "Water detected under the geyser." This is the alert that reaches you instantly.
  4. Optionally close a smart valve. If you have a motorised water valve, add a second action that closes it when the sensor goes wet, stopping the flow automatically before damage spreads.
  5. Test it safely. Trigger the sensor with a damp cloth to confirm the notification arrives and, if fitted, the valve closes. A leak alert you have not tested is one you cannot rely on.

Building A Door Alert

Door automations follow the same pattern with useful variations.

  1. Fit the contact sensor. Mount the two-part contact sensor on the door and frame so it reads open and closed reliably as the door moves.
  2. Decide the condition. A simple version alerts whenever the door opens. A smarter version alerts only when your home is in away mode, so you are not pinged every time someone comes and goes normally.
  3. Add a delay for left-open alerts. For a "door left open" alert, trigger when the door has been open for a set time, say ten minutes, rather than the instant it opens. This catches a garage or back door someone forgot.
  4. Attach context to the notification. Where you have a camera nearby, add a camera snapshot to the notification so you see what is happening, not just that the door moved.
  5. Test both paths. Open the door in away mode and in home mode to confirm each behaves as intended.

These sensors and hubs sit within the wider smart home and connected-living range, which is the place to look when adding more sensors to the network.

Making Alerts Trustworthy

The point of instant alerts is that you act on them, so build them to be reliable rather than noisy. Keep sensor batteries healthy, since a dead leak sensor protects nothing, and use conditions like away mode so notifications stay meaningful instead of constant. A geyser valve that closes on its own is the kind of automation that pays for itself the first time a pipe fails while you are out. Keeping spare sensors and batteries on hand keeps the system dependable, and the popular accessories cover those everyday extras.

Frequently Asked Questions

What is a binary sensor in Home Assistant?

It is a sensor with exactly two states, such as a door's open and closed or a leak sensor's wet and dry. Automations trigger on the moment that state changes, which is what makes the resulting alert instant.

Can a leak sensor automatically shut off the water?

Yes, if you pair it with a motorised smart valve. An automation can close the valve the instant the sensor goes wet, stopping the flow before a leak causes serious damage, alongside sending you a notification.

How do I avoid constant door notifications?

Add a condition so the alert only fires in certain situations, such as when the home is in away mode, or only when the door has been open for a set time. That keeps notifications meaningful rather than firing on normal use.

Can I attach a camera image to an alert?

Yes. Where a camera covers the area, you can add a camera snapshot to the notification action, so the alert shows you the scene rather than just telling you a sensor changed state.

Do these sensors need to be Zigbee?

No. Zigbee leak and contact sensors are popular and reliable, but Wi-Fi and other protocols work too. What matters is that Home Assistant sees the device as a binary sensor it can trigger an automation from.

Get alerted the second a leak or open door happens. Explore the smart home range at Evetech and automate your sensors for instant notifications and automatic valve control.