Add initial config validation

This commit is contained in:
Paulus Schoutsen committed 2016-03-28 23:46:12 -07:00
1 parent 0549bc0290
commit 5baa98b79f
24 files changed
+349 -72

No files matched your search

+1 -3
View File
@@ -49,9 +49,7 @@ class EntityComponent(object):
self.config = config
# Look in config for Domain, Domain 2, Domain 3 etc and load them
for p_type, p_config in \
config_per_platform(config, self.domain, self.logger):
for p_type, p_config in config_per_platform(config, self.domain):
self._setup_platform(p_type, p_config)
if self.discovery_platforms: