mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 02:46:53 +00:00
add sms to pushbullet doc (#12214)
* add sms to doc * Fix service payload example * fix
This commit is contained in:
parent
9e80703ad0
commit
eb95f2a64c
@ -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/).
|
||||
|
Loading…
x
Reference in New Issue
Block a user