From 6a39e86c1dbdf4579a3197cb82e68419052bfd6a Mon Sep 17 00:00:00 2001 From: fabtesta Date: Mon, 25 Mar 2019 20:47:11 +0100 Subject: [PATCH] Add ClickSend "caller" option (#8831) * Add ClickSend "caller" option Added optional "caller" parameter to let ClickSend API call be more compliant with some cellular networks that do not allow incoming calls from the same recipient number. If "caller" is not defined, then the recipient parameter value is used. * * Removed optional variable in example * :pencil2: Tweak --- source/_components/notify.clicksend_tts.markdown | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/source/_components/notify.clicksend_tts.markdown b/source/_components/notify.clicksend_tts.markdown index 562a6c56ebd..1bde49e1fc9 100644 --- a/source/_components/notify.clicksend_tts.markdown +++ b/source/_components/notify.clicksend_tts.markdown @@ -8,9 +8,11 @@ comments: false sharing: true footer: true logo: clicksend.png -ha_category: Notifications +ha_category: + - Notifications ha_release: 0.55 -redirect_from: /components/notify.clicksendaudio/ +redirect_from: + - /components/notify.clicksendaudio/ --- The `clicksend_tts` platform uses [ClickSend](https://clicksend.com) to deliver text-to-speech (TTS) notifications from Home Assistant. @@ -22,7 +24,6 @@ To add ClickSend to your installation, add the following to your Home Assistant ```yaml notify: - platform: clicksend_tts - name: ClickSend username: CLICKSEND_USERNAME api_key: CLICKSEND_API_KEY recipient: PHONE_NO @@ -43,9 +44,13 @@ api_key: required: true type: string recipient: - description: Your phone number. This is where you want to send your notification SMS messages (e.g., `09171234567`). + description: Recipient phone number. This is the phone number that you want to call and notify via TTS (e.g., `09171234567`). required: true type: string +caller: + description: Caller phone number. This is the phone number that you want to be the TTS call originator (e.g., `09181234567`). If not defined the recipient number is used. + required: false + type: string language: description: The language you want to use to convert the message to audio. Accepted values are found in the [ClickSend Documentation](http://docs.clicksend.apiary.io/#reference/voice/voice-languages). required: false