Leak Detection & Notifier – Advanced (Custom Messages, Auto-Clear, Repeating Alarm, Script)

This blueprint automatically detects all moisture sensors in your Home Assistant system — no need to manually select sensors. It sends customizable mobile notifications with your own title and message.

Optional features include:

  • :iphone: Supports multiple mobile devices
  • :white_check_mark: Auto-clear notifications when the sensor goes dry
  • :repeat: Repeating alarms until the leak is cleared
  • :gear: Optional script execution when a leak is detected

Most likely there are similar blueprints, but everything I found didn’t include the option to automatically trigger on all moisture sensors without adding them manually.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Forked from: bbbenji/leak-detector-notifier.yaml
The original didn’t have enough functionality for my needs: custom warning text, leak clear message, repeating alarm, and optional script execution.

P.S.: This blueprint was updated and enhanced with help from ChatGPT.

1 Like

Hello Dmitry,

Thanks for contributing to the community with a new Blueprint.
I have a suggestion for you. Many people who are not familiar with directory structures will have problems installing this without the Home Assistant MY tools.
Adding a MY link for this Blueprint to your top post would help them a lot.
Here is the link to make that.
Create a link – My Home Assistant
You need to be a trust level ‘member’ to edit a post. Understanding Discourse Trust Levels
If you can’t edit, I would load a link into a second post.

1 Like

Thank you for this, Dmitry!

I’m using this with the new Matter enabled IKEA leak detectors. Works perfectly.

Would it be possible to allow multiple devices to be notified?

It would be good if both myself and my wife were notified, in case I’m out fishing, etc. :wink:

Thank you again…

Please update blueprint in your system. I have added option for adding multiply devices. SO far tested on iOS devices and it work fine. Let me know if something is wrong.

:wrench: I’ve updated my Home Assistant leak detection blueprint with several improvements to make it more reliable and smarter:

New improvements:
:arrows_counterclockwise: Detects only real state transitions (off → on and on → off)
:stop_sign: Prevents false “leak cleared” alerts after Home Assistant restart (unavailable → off)
:round_pushpin: Notifications now include the room/area name

These changes make the automation more robust, restart-safe, and easier to maintain in setups with many leak sensors.

Thanks for the blueprint, I will try it.

One suggestion I would like to give is to use (out give the possibility to use) “persistent notification” in HA, I think they are better for this type of urgent notifications and you cannot miss them