Use voluptuous for message_bird, sendgrid (#3136)

This commit is contained in:
Pascal Vizeli 2016-09-05 07:07:31 +02:00 committed by Fabian Affolter
parent 7bab4055a5
commit e460d8f637
5 changed files with 31 additions and 42 deletions

View file

@ -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'