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

Classes

class  SinchNotificationService
 

Functions

SinchNotificationService get_service (HomeAssistant hass, ConfigType config, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 ATTR_SENDER = CONF_SENDER
 
string CONF_DEFAULT_RECIPIENTS = "default_recipients"
 
string CONF_SERVICE_PLAN_ID = "service_plan_id"
 
string DEFAULT_SENDER = "Home Assistant"
 
string DOMAIN = "sinch"
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for Sinch notifications.

Function Documentation

◆ get_service()

SinchNotificationService homeassistant.components.sinch.notify.get_service ( HomeAssistant  hass,
ConfigType  config,
DiscoveryInfoType | None   discovery_info = None 
)
Get the Sinch notification service.

Definition at line 52 of file notify.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 38 of file notify.py.

◆ ATTR_SENDER

homeassistant.components.sinch.notify.ATTR_SENDER = CONF_SENDER

Definition at line 34 of file notify.py.

◆ CONF_DEFAULT_RECIPIENTS

string homeassistant.components.sinch.notify.CONF_DEFAULT_RECIPIENTS = "default_recipients"

Definition at line 32 of file notify.py.

◆ CONF_SERVICE_PLAN_ID

string homeassistant.components.sinch.notify.CONF_SERVICE_PLAN_ID = "service_plan_id"

Definition at line 31 of file notify.py.

◆ DEFAULT_SENDER

string homeassistant.components.sinch.notify.DEFAULT_SENDER = "Home Assistant"

Definition at line 36 of file notify.py.

◆ DOMAIN

string homeassistant.components.sinch.notify.DOMAIN = "sinch"

Definition at line 29 of file notify.py.

◆ PLATFORM_SCHEMA

homeassistant.components.sinch.notify.PLATFORM_SCHEMA
Initial value:
1 = NOTIFY_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_API_KEY): cv.string,
4  vol.Required(CONF_SERVICE_PLAN_ID): cv.string,
5  vol.Optional(CONF_SENDER, default=DEFAULT_SENDER): cv.string,
6  vol.Optional(CONF_DEFAULT_RECIPIENTS, default=[]): vol.All(
7  cv.ensure_list, [cv.string]
8  ),
9  }
10 )

Definition at line 40 of file notify.py.