Harmony: make activity optional (#12679)

pull/12742/head
Paulus Schoutsen 2018-02-26 01:11:28 -08:00
parent 0a067f4cc7
commit 9e8340432c
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ CONF_DEVICE_CACHE = 'harmony_device_cache'
SERVICE_SYNC = 'harmony_sync'
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Required(ATTR_ACTIVITY): cv.string,
vol.Optional(ATTR_ACTIVITY): cv.string,
vol.Required(CONF_NAME): cv.string,
vol.Optional(ATTR_DELAY_SECS, default=DEFAULT_DELAY_SECS):
vol.Coerce(float),