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

Classes

class  TwilioCallNotificationService
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_FROM_NUMBER = "from_number"
 
 PLATFORM_SCHEMA
 

Detailed Description

Twilio Call platform for notify component.

Function Documentation

◆ get_service()

TwilioCallNotificationService homeassistant.components.twilio_call.notify.get_service ( HomeAssistant  hass,
ConfigType  config,
DiscoveryInfoType | None   discovery_info = None 
)
Get the Twilio Call notification service.

Definition at line 34 of file notify.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 21 of file notify.py.

◆ CONF_FROM_NUMBER

string homeassistant.components.twilio_call.notify.CONF_FROM_NUMBER = "from_number"

Definition at line 23 of file notify.py.

◆ PLATFORM_SCHEMA

homeassistant.components.twilio_call.notify.PLATFORM_SCHEMA
Initial value:
1 = NOTIFY_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_FROM_NUMBER): vol.All(
4  cv.string, vol.Match(r"^\+?[1-9]\d{1,14}$")
5  )
6  }
7 )

Definition at line 25 of file notify.py.