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

Classes

class  MessageBirdNotificationService
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 PLATFORM_SCHEMA
 

Detailed Description

MessageBird platform for notify component.

Function Documentation

◆ get_service()

MessageBirdNotificationService | None homeassistant.components.message_bird.notify.get_service ( HomeAssistant  hass,
ConfigType  config,
DiscoveryInfoType | None   discovery_info = None 
)
Get the MessageBird notification service.

Definition at line 33 of file notify.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 21 of file notify.py.

◆ PLATFORM_SCHEMA

homeassistant.components.message_bird.notify.PLATFORM_SCHEMA
Initial value:
1 = NOTIFY_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_API_KEY): cv.string,
4  vol.Optional(CONF_SENDER, default="HA"): vol.All(
5  cv.string, vol.Match(r"^(\+?[1-9]\d{1,14}|\w{1,11})$")
6  ),
7  }
8 )

Definition at line 23 of file notify.py.