Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.mobile_app.notify.MobileAppNotificationService Class Reference
Inheritance diagram for homeassistant.components.mobile_app.notify.MobileAppNotificationService:
[legend]
Collaboration diagram for homeassistant.components.mobile_app.notify.MobileAppNotificationService:
[legend]

Public Member Functions

def __init__ (self, hass)
 
def async_send_message (self, message="", **kwargs)
 
def targets (self)
 

Private Member Functions

def _async_send_remote_message_target (self, target, registration, data)
 

Private Attributes

 _hass
 

Detailed Description

Implement the notification service for mobile_app.

Definition at line 97 of file notify.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.mobile_app.notify.MobileAppNotificationService.__init__ (   self,
  hass 
)
Initialize the service.

Definition at line 100 of file notify.py.

Member Function Documentation

◆ _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.

Member Data Documentation

◆ _hass

homeassistant.components.mobile_app.notify.MobileAppNotificationService._hass
private

Definition at line 102 of file notify.py.


The documentation for this class was generated from the following file: