Fix CONF_FRIENDLY_NAME (#11438)

pull/11441/head
cdce8p 2018-01-03 23:52:36 +01:00 committed by Lukas Barth
parent eb00e54eba
commit 65df6f0013
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ COVER_SCHEMA = vol.Schema({
vol.Optional(CONF_TILT_OPTIMISTIC): cv.boolean,
vol.Optional(POSITION_ACTION): cv.SCRIPT_SCHEMA,
vol.Optional(TILT_ACTION): cv.SCRIPT_SCHEMA,
vol.Optional(CONF_FRIENDLY_NAME, default=None): cv.string,
vol.Optional(CONF_FRIENDLY_NAME): cv.string,
vol.Optional(CONF_ENTITY_ID): cv.entity_ids
})

View File

@ -40,7 +40,7 @@ LIGHT_SCHEMA = vol.Schema({
vol.Optional(CONF_ENTITY_PICTURE_TEMPLATE, default=None): cv.template,
vol.Optional(CONF_LEVEL_ACTION, default=None): cv.SCRIPT_SCHEMA,
vol.Optional(CONF_LEVEL_TEMPLATE, default=None): cv.template,
vol.Optional(CONF_FRIENDLY_NAME, default=None): cv.string,
vol.Optional(CONF_FRIENDLY_NAME): cv.string,
vol.Optional(CONF_ENTITY_ID): cv.entity_ids
})