Implement the notification service for mobile_app.
Definition at line 97 of file notify.py.
◆ __init__()
| def homeassistant.components.mobile_app.notify.MobileAppNotificationService.__init__ |
( |
|
self, |
|
|
|
hass |
|
) |
| |
Initialize the service.
Definition at line 100 of file notify.py.
◆ _async_send_remote_message_target()
| def homeassistant.components.mobile_app.notify.MobileAppNotificationService._async_send_remote_message_target |
( |
|
self, |
|
|
|
target, |
|
|
|
registration, |
|
|
|
data |
|
) |
| |
|
private |
Send a message to a target.
Definition at line 148 of file notify.py.
◆ async_send_message()
| def homeassistant.components.mobile_app.notify.MobileAppNotificationService.async_send_message |
( |
|
self, |
|
|
|
message = "", |
|
|
** |
kwargs |
|
) |
| |
Send a message to the Lambda APNS gateway.
Definition at line 109 of file notify.py.
◆ targets()
| def homeassistant.components.mobile_app.notify.MobileAppNotificationService.targets |
( |
|
self | ) |
|
Return a dictionary of registered targets.
Definition at line 105 of file notify.py.
◆ _hass
| homeassistant.components.mobile_app.notify.MobileAppNotificationService._hass |
|
private |
The documentation for this class was generated from the following file:
- core/homeassistant/components/mobile_app/notify.py