mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Merge pull request #111 from tomduijf/pushbullet_email
Update to reflect notify/pushbullet changes
This commit is contained in:
commit
a2128d6fb5
@ -32,14 +32,15 @@ Configuration variables:
|
|||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
PushBullet is a notify platform and thus can be controlled by calling the notify service [as described here](/components/notify/). An optional **target** parameter can be given to PushBullet to specify one or many account's devices, contacts or channels to notify.
|
PushBullet is a notify platform and thus can be controlled by calling the notify service [as described here](/components/notify/). It will send a notification to all devices registered in the PushBullet account. An optional **target** parameter can be given to PushBullet to specify specific account's devices, contacts or channels.
|
||||||
|
|
||||||
Type | Prefix | Suffix | Example
|
Type | Prefix | Suffix | Example
|
||||||
---- | ------ | ------ | -------
|
---- | ------ | ------ | -------
|
||||||
All devices | `device` | -- | `device`
|
|
||||||
Device | `device/` | Device nickname | `device/iphone`
|
Device | `device/` | Device nickname | `device/iphone`
|
||||||
Contact | `contact/` | Contact e-mail (lowercase) | `contact/email@example.com`
|
|
||||||
Channel | `channel/` | Channel tag | `channel/my_home`
|
Channel | `channel/` | Channel tag | `channel/my_home`
|
||||||
|
Email | `email/` | Contact's email address | `email/email@example.com`
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
@ -47,7 +48,7 @@ Channel | `channel/` | Channel tag | `channel/my_home`
|
|||||||
{
|
{
|
||||||
"message": "A message for many people",
|
"message": "A message for many people",
|
||||||
"target": [
|
"target": [
|
||||||
"device",
|
"device/telephone",
|
||||||
"contact/hello@example.com",
|
"contact/hello@example.com",
|
||||||
"channel/my_home"
|
"channel/my_home"
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user