Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.mobile_app.notify Namespace Reference

Classes

class  MobileAppNotificationService
 

Functions

MobileAppNotificationService async_get_service (HomeAssistant hass, ConfigType config, DiscoveryInfoType|None discovery_info=None)
 
def log_rate_limits (hass, device_name, resp, level=logging.INFO)
 
def push_registrations (hass)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Support for mobile_app push notifications.

Function Documentation

◆ async_get_service()

MobileAppNotificationService homeassistant.components.mobile_app.notify.async_get_service ( HomeAssistant  hass,
ConfigType  config,
DiscoveryInfoType | None   discovery_info = None 
)
Get the mobile_app notification service.

Definition at line 87 of file notify.py.

◆ log_rate_limits()

def homeassistant.components.mobile_app.notify.log_rate_limits (   hass,
  device_name,
  resp,
  level = logging.INFO 
)
Output rate limit log line at given level.

Definition at line 63 of file notify.py.

◆ push_registrations()

def homeassistant.components.mobile_app.notify.push_registrations (   hass)
Return a dictionary of push enabled registrations.

Definition at line 50 of file notify.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.mobile_app.notify._LOGGER = logging.getLogger(__name__)
private

Definition at line 47 of file notify.py.