Use voluptuous for message_bird, sendgrid (#3136)
This commit is contained in:
parent
7bab4055a5
commit
e460d8f637
5 changed files with 31 additions and 42 deletions
|
@ -16,15 +16,14 @@ import homeassistant.helpers.config_validation as cv
|
|||
from homeassistant.components.notify import (
|
||||
ATTR_TITLE, ATTR_TITLE_DEFAULT, ATTR_DATA, PLATFORM_SCHEMA,
|
||||
BaseNotificationService)
|
||||
from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD, CONF_PORT)
|
||||
from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD, CONF_PORT,
|
||||
CONF_SENDER, CONF_RECIPIENT)
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_IMAGES = 'images' # optional embedded image file attachments
|
||||
|
||||
CONF_STARTTLS = 'starttls'
|
||||
CONF_SENDER = 'sender'
|
||||
CONF_RECIPIENT = 'recipient'
|
||||
CONF_DEBUG = 'debug'
|
||||
CONF_SERVER = 'server'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue