Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.sms Namespace Reference

Namespaces

 config_flow
 
 const
 
 coordinator
 
 gateway
 
 notify
 
 sensor
 

Functions

bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 
list PLATFORMS = [Platform.SENSOR]
 
dictionary SMS_CONFIG_SCHEMA = {vol.Required(CONF_DEVICE): cv.isdevice}
 

Detailed Description

The sms component.

Function Documentation

◆ async_setup()

bool homeassistant.components.sms.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Configure Gammu state machine.

Definition at line 46 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.sms.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Configure Gammu state machine.

Definition at line 53 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.sms.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 97 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.sms._LOGGER = logging.getLogger(__name__)
private

Definition at line 27 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.sms.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  vol.All(
5  cv.deprecated(CONF_DEVICE),
6  SMS_CONFIG_SCHEMA,
7  ),
8  )
9  },
10  extra=vol.ALLOW_EXTRA,
11 )

Definition at line 33 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.sms.PLATFORMS = [Platform.SENSOR]

Definition at line 29 of file __init__.py.

◆ SMS_CONFIG_SCHEMA

dictionary homeassistant.components.sms.SMS_CONFIG_SCHEMA = {vol.Required(CONF_DEVICE): cv.isdevice}

Definition at line 31 of file __init__.py.