Initial commit: SIP Voice Notifier v2 - single add-on with integrated service
This commit is contained in:
37
sip-notifier/services.yaml
Normal file
37
sip-notifier/services.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
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
|
||||
Reference in New Issue
Block a user