add sms to pushbullet doc (#12214)

* add sms to doc

* Fix service payload example

* fix
This commit is contained in:
Franck Nijhof 2020-03-05 11:27:30 +01:00 committed by GitHub
parent 9e80703ad0
commit eb95f2a64c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,20 +113,21 @@ Type | Prefix | Suffix | Example
Device | `device/` | Device nickname | `device/iphone`
Channel | `channel/` | Channel tag | `channel/my_home`
Email | `email/` | Contact's email address | `email/email@example.com`
SMS | `sms/` | Contact's phone number | `sms/0612345678`
If using targets, your own account's email address functions as 'send to all devices'. All targets are verified (if exists) before sending, except email.
#### Example service payload
```json
{
"message": "A message for many people",
"target": [
"device/telephone",
"email/hello@example.com",
"channel/my_home"
]
}
```yaml
message: A message for many people
target:
- device/telephone
- email/hello@example.com
- channel/my_home
- sms/0612345678
```
To use notifications, please see the [getting started with automation page](/getting-started/automation/).