I see with alert I can have repeated notifications, but I don’t see how to configure those as critical (ring even if do not disturb is on). I also see I can configure a single critical notification, but it’s not repeated. Is there a ‘best of both worlds’ option here? I just got a water leak sensor and I’m afraid I’ll sleep through the single critical notification, and won’t even notice the repeated alerts if my phone is on silent.
Not sure if this is new, but there’s a repeat option for actions in automations now. Made this super simple.
- alias: Leak Detected
mode: single
description: Water Heater is leaking
trigger:
- platform: state
entity_id: binary_sensor.water
to: 'on'
action:
- repeat:
while:
- condition: state
entity_id: binary_sensor.water
state: 'on'
sequence:
- service: notify.mobile_app_pixel
data:
title: Water Heater is leaking.
message: TTS
data:
ttl: 0
priority: high
channel: alarm_stream_max
- delay: 00:00:05
You could try a notify group (even if the group only has one notify service is in). This should let you pass additional arguments to the service.