Add initial config validation
This commit is contained in:
1 parent
0549bc0290
commit
5baa98b79f
24 files changed
+349
-72
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user