Water dripping from a white PVC P-trap beneath a bathroom sink.
“Leaking PVC Pipe Under Sink - P Trap” © 2023 Tony Webster, via Wikimedia Commons. Resized; display may crop the image. · Creative Commons Attribution 2.0 Generic (CC BY 2.0) · Cropped to fit

Start with one vulnerable spot

A small leak under a sink or beside a washing machine can remain unnoticed until someone opens a cupboard. For a Mauritius household starting with Home Assistant, a battery-powered leak sensor offers a focused project without modifying mains wiring.

Choose one accessible location and decide who should respond to an alert. The objective is earlier awareness, not a guarantee against water damage. A sensor cannot repair plumbing, and a phone notification is only useful if someone notices it and can act safely.

The photograph illustrates an under-sink plumbing leak. No sensor is shown, and it is not presented as a Mauritius installation or a product test.

Check the sensor before buying

Look up the exact model and its supported integration, including any required hub or radio. Confirm that Home Assistant receives the wet/dry state, rather than assuming a smart-home logo guarantees every function. Check battery information, permitted environments and the manufacturer's placement instructions.

Products differ in how they raise an audible alarm. For example, Aqara's original Water Leak Sensor documentation describes an alarm through its hub and requires that hub for its advertised setup. Do not assume every small sensor contains its own sounder or works independently of its network.

Place the sensing contacts where escaping water is likely to reach them, following the model's instructions. Avoid routine splashes that would produce nuisance warnings, and keep the device accessible for inspection and battery replacement.

Build a clear first notification

Give the device a location-based name, such as Kitchen sink leak. In Home Assistant, confirm that its moisture entity reports a sensible state before creating an automation.

Using the current visual editor, open Settings, Automations & scenes, then Create automation and Create new automation. Under When, add the Moisture detected trigger and select the individual sensor. Leave For at least at zero for an immediate trigger rather than deliberately delaying the warning.

Add a notification action for your phone through the Home Assistant Companion app. Notification permission must be enabled; the app's documented notification actions have names beginning with notify.mobile_app_. Write a message that identifies the location, for example: Water detected under the kitchen sink. Check the area safely.

Start with one sensor and one recipient. Once this works, extend it deliberately rather than sending vague alerts from an entire house.

Test detection, delivery and silence settings

Follow the manufacturer's safe test procedure, away from electrical equipment. Verify the real sensor transition, receipt on the intended phone and the return to a dry state. Running only the notification action does not prove that the physical sensor can trigger it.

Repeat the delivery check with the phone locked and with its usual quiet settings. Home Assistant documents different critical-notification settings for iOS and Android; an ordinary push notification should not be assumed to override Do Not Disturb.

Consider a compatible local audible warning as another route for someone at home. Check its dependencies separately from remote phone delivery. Neither a working dashboard nor a successful test guarantees warnings during every network or power failure.

Keep the warning trustworthy

Unknown and unavailable are not dry readings. Home Assistant distinguishes these states, and its moisture trigger does not treat them as water detection. Include connectivity and battery checks in your maintenance routine.

For a later improvement, Home Assistant's Alert integration supports repeating reminders and acknowledgement, but requires configuration beyond this first automation. Agree who checks an unresolved warning before adding repeated notifications.

Keep automatic water shutoff as a separate, professionally assessed project. Use a qualified plumber for plumbing changes and a qualified electrician for mains electrical work. Never approach wet electrical equipment simply to investigate an app alert.

Sources and further reading

Product capabilities can change. Check the exact model and current documentation before buying.