We need to allow extra keys on the top-level component config.

pull/1703/head
Jan Harkes 2016-04-07 00:42:56 -04:00
parent 94835235a4
commit 3bc06ac79e
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ CONFIG_SCHEMA = vol.Schema({
[PROTOCOL_31, PROTOCOL_311],
vol.Optional(CONF_EMBEDDED): _HBMQTT_CONFIG_SCHEMA,
}),
})
}, extra=vol.ALLOW_EXTRA)
MQTT_BASE_PLATFORM_SCHEMA = vol.Schema({
vol.Required(CONF_PLATFORM): DOMAIN,

View File

@ -28,7 +28,7 @@ CONFIG_SCHEMA = vol.Schema({
vol.Optional(CONF_PUBLISH_TOPIC): valid_publish_topic,
vol.Optional(CONF_SUBSCRIBE_TOPIC): valid_subscribe_topic,
}),
})
}, extra=vol.ALLOW_EXTRA)
def setup(hass, config):