Thought this may be useful, as I could not find one
description: Alert when BADRING detects moisture
triggers:
- entity_id: binary_sensor.kitchin_moisture_sensor
to: "on"
for:
hours: 0
minutes: 0
seconds: 2
trigger: state
conditions: []
actions:
- repeat:
while:
- condition: state
entity_id: binary_sensor.kitchin_moisture_sensor
state: "on"
sequence:
- data:
title: Sink tap left on
message: Turn it off now!!
data:
sound: siren
priority: 1
action: notify.pushover
- target:
entity_id: media_player.hall_speaker
data:
media_content_type: audio/mp3
media_content_id: >-
http://funkytwig.com/wp-content/uploads/2024/01/mixkit-classic-alarm-4-995.mp3
action: media_player.play_media
- delay:
hours: 0
minutes: 0
seconds: 15
milliseconds: 0
mode: single