38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
send_notification:
|
|
name: Send Voice Notification
|
|
description: Place a SIP call and play audio from a URL or TTS message
|
|
fields:
|
|
destination:
|
|
name: Destination
|
|
description: Phone number or SIP URI to call
|
|
required: true
|
|
example: "+15551234567"
|
|
selector:
|
|
text:
|
|
audio_url:
|
|
name: Audio URL
|
|
description: HTTP(S) URL to MP3/WAV audio file to play
|
|
required: false
|
|
example: "https://example.com/notification.mp3"
|
|
selector:
|
|
text:
|
|
message:
|
|
name: Message
|
|
description: Text message to convert to speech (alternative to audio_url)
|
|
required: false
|
|
example: "This is a voice notification from Home Assistant"
|
|
selector:
|
|
text:
|
|
multiline: true
|
|
duration:
|
|
name: Call Duration
|
|
description: How long to keep the call active (seconds)
|
|
required: false
|
|
default: 30
|
|
example: 45
|
|
selector:
|
|
number:
|
|
min: 5
|
|
max: 300
|
|
unit_of_measurement: seconds
|