📲 Contact Sensor (Door or Window) Left Open Notification

Hi Hartmut, I feel like the service name is incorrect. I’ve never seen a service name containing a dash. Could you verify this?

Hi Malte, thank you for your hint. Replacing dash by underscore solved the issue.
I wasn’t thinking about the service name due to the system tooks the device name automatically. Really good to know that!
Thank you
Hartmut

I’d like to second this! Having channels for the notification is vital to make sure I am aware of them. Being able to eben set them to critical would even improve this!

P.S.: Great blueprint, thanks!

Hi!

Thank you very much for this blueprint, it’s very useful for my purposes :slight_smile: I’m just starting out with HA and maybe I’m making another rookie mistake here:

I want to add a possibility to disable the notification globally. For this I have created a switch as an entity. I also want no notifications to be sent at temperatures above 16 degrees. It looks like this:

I now have the following behaviour:

  • Temperature is below the threshold value
  • Notifications are not switched off

The notifications are coming as desired.

If I now flip the switch in the entity for the switch to switch off the notifications, the notifications are still displayed. Am I making a mistake here?

I have combined the conditions with an AND, because they are actually mutually dependent.

Edit: What else I have noticed: If I have already flipped the switch for the notifications, the notifications remain muted. Could it be that the conditions are only checked once when the blueprint is called up and then no longer?

Just turn the automation on/off if you want to disable it

That’s not what I want. Normally, we should be told to close a window. But sometimes the temperature feels warmer than it is measured. In this case, I would simply like to have the option of temporarily switching off the notification via a switch until the windows have all been closed.
This means that if all the windows are closed and then opened again, the mechanism for the announcements takes effect as normal.
Switching off the automation would only affect the automation for one sensor in this case.

Hi Malte, I am having the same issue here - with repeat option activated.
I have several window contacts in a binary sensor group, but the notification message will list only the first one opened regardless of further windows being opened.

I would llike to get a notification like
“Open Windows
Kitchen since 11.45
Bathroom since 11.50”

Obviously the preconfigured message template won’t achieve that as it is prepared for a single sensor only.

If not feasible I might go with dedicated automations per window.
Still saving efforts :slight_smile:

After some more testing I need to correct: the message is containing all open windows, but only one timestamp (of first one opened) is included.

Since you are using the repeat time for any refresh, this conflicts with my intention to receive only rare notifications (when I really should act).
Here is a scenario so you might understand my point:
If I configure repeat time long term (5 min) I would walk to bathroom window, then back in living room learn that I should have closed also kitchen window.