I need help with adding a delay to the TTS broadcast, currently it repeats so fast it doesn’t make a sound. how would I add a delay to the below script.
Thanks
alias: Sliding door open warning
description: ""
trigger:
- platform: device
device_id: 5f6531f56b87e01c4032d06c58966363
domain: cover
entity_id: cover.cw2gt_v2_2_curtain
type: closed
condition:
- condition: state
entity_id: binary_sensor.openclose_10
state: "on"
action:
- service: tts.google_translate_say
data:
entity_id: media_player.home_speakers
message: Sliding door open
- repeat:
until:
- condition: state
entity_id: binary_sensor.openclose_10
state: "off"
sequence:
- service: tts.google_translate_say
data:
entity_id: media_player.home_speakers
message: Sliding door Closed
mode: single