Fix vera breaking component loading order. (#1749)

This commit is contained in:
Greg Dowling authored and Paulus Schoutsen committed 2016-04-08 11:38:02 -07:00
1 parent f6331da000
commit f5227e1de0
1 file changed
+1 -1
+1 -1
View File
@@ -109,7 +109,7 @@ def setup(hass, base_config):
(LIGHT, DISCOVER_LIGHTS),
(SWITCH, DISCOVER_SWITCHES))):
component = get_component(comp_name)
bootstrap.setup_component(hass, component.DOMAIN, config)
bootstrap.setup_component(hass, component.DOMAIN, base_config)
hass.bus.fire(EVENT_PLATFORM_DISCOVERED,
{ATTR_SERVICE: discovery,
ATTR_DISCOVERED: {}})