mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-12 11:56:50 +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`
|
Device | `device/` | Device nickname | `device/iphone`
|
||||||
Channel | `channel/` | Channel tag | `channel/my_home`
|
Channel | `channel/` | Channel tag | `channel/my_home`
|
||||||
Email | `email/` | Contact's email address | `email/email@example.com`
|
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.
|
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
|
#### Example service payload
|
||||||
|
|
||||||
```json
|
```yaml
|
||||||
{
|
|
||||||
"message": "A message for many people",
|
message: A message for many people
|
||||||
"target": [
|
target:
|
||||||
"device/telephone",
|
- device/telephone
|
||||||
"email/hello@example.com",
|
- email/hello@example.com
|
||||||
"channel/my_home"
|
- channel/my_home
|
||||||
]
|
- sms/0612345678
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
|
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user