forked from home-assistant/home-assistant.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add sms to pushbullet doc (home-assistant#12214)
* add sms to doc * Fix service payload example * fix
- Loading branch information
Showing
1 changed file
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 protected]` | ||
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/[email protected]", | ||
"channel/my_home" | ||
] | ||
} | ||
```yaml | ||
message: A message for many people | ||
target: | ||
- device/telephone | ||
- email/[email protected] | ||
- channel/my_home | ||
- sms/0612345678 | ||
``` | ||
|
||
To use notifications, please see the [getting started with automation page](/getting-started/automation/). | ||
|