twilio notification platform enables sending notifications via SMS, powered by Twilio.
The requirement is that you have setup Twilio.
To use this notification platform in your installation, add the following to your
# Example configuration.yaml entry notify: - name: NOTIFIER_NAME platform: twilio_sms from_number: E164_PHONE_NUMBER
(string)(Optional)Setting the optional parameter
nameallows multiple notifiers to be created. The notifier will bind to the service
Twilio is a notify platform and thus can be controlled by calling the notify service as described here. It will send a notification to all E.164 phone numbers in the notification target. See the notes above regarding the
from_number configuration variable for information about formatting phone numbers.
# Example automation notification entry automation: - alias: The sun has set trigger: platform: sun event: sunset action: service: notify.twilio_sms data: message: 'The sun has set' target: - '+14151234567' - '+15105555555'