Skip to content

Commit

Permalink
We need to allow extra keys on the top-level component config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaharkes committed Apr 7, 2016
1 parent 9483523 commit 3bc06ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/mqtt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def valid_publish_topic(value):
[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,
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/mqtt_eventstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
vol.Optional(CONF_PUBLISH_TOPIC): valid_publish_topic,
vol.Optional(CONF_SUBSCRIBE_TOPIC): valid_subscribe_topic,
}),
})
}, extra=vol.ALLOW_EXTRA)


def setup(hass, config):
Expand Down

0 comments on commit 3bc06ac

Please sign in to comment.