|
| None | _push_data (self, str message, str title, dict[str, Any] data, PushBullet pusher, str|None email=None, str|None phonenumber=None) |
| |
Implement the notification service for Pushbullet.
Definition at line 45 of file notify.py.
◆ __init__()
| None homeassistant.components.pushbullet.notify.PushBulletNotificationService.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
PushBullet |
pushbullet |
|
) |
| |
Initialize the service.
Definition at line 48 of file notify.py.
◆ _push_data()
| None homeassistant.components.pushbullet.notify.PushBulletNotificationService._push_data |
( |
|
self, |
|
|
str |
message, |
|
|
str |
title, |
|
|
dict[str, Any] |
data, |
|
|
PushBullet |
pusher, |
|
|
str | None |
email = None, |
|
|
str | None |
phonenumber = None |
|
) |
| |
|
private |
Create the message content.
Definition at line 119 of file notify.py.
◆ pbtargets()
| dict[str, dict[str, Device | Channel]] homeassistant.components.pushbullet.notify.PushBulletNotificationService.pbtargets |
( |
|
self | ) |
|
Return device and channel detected targets.
Definition at line 54 of file notify.py.
◆ send_message()
| None homeassistant.components.pushbullet.notify.PushBulletNotificationService.send_message |
( |
|
self, |
|
|
str |
message, |
|
|
**Any |
kwargs |
|
) |
| |
Send a message to a specified target.
If no target specified, a 'normal' push will be sent to all devices
linked to the Pushbullet account.
Email is special, these are assumed to always exist. We use a special
call which doesn't require a push object.
Definition at line 63 of file notify.py.
◆ hass
| homeassistant.components.pushbullet.notify.PushBulletNotificationService.hass |
◆ pushbullet
| homeassistant.components.pushbullet.notify.PushBulletNotificationService.pushbullet |
The documentation for this class was generated from the following file:
- core/homeassistant/components/pushbullet/notify.py