We need to allow extra keys on the top-level component config.
parent
94835235a4
commit
3bc06ac79e
|
@ -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,
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue