Added example yaml config file, removed old example config, fixed style violation in bootstrap.py
This commit is contained in:
1 parent
f2b602c7ec
commit
8da1fb1d74
3 files changed
+99
-100
No files matched your search
@@ -114,7 +114,7 @@ def from_config_file(config_path, hass=None):
|
||||
|
||||
config_dict = {}
|
||||
# check config file type
|
||||
if(os.path.splitext(config_path)[1] == '.yaml'):
|
||||
if os.path.splitext(config_path)[1] == '.yaml':
|
||||
# Read yaml
|
||||
config_dict = yaml.load(io.open(config_path, 'r'))
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user