Restart and configuration check errors after upgrade to 0.81.6

I did an upgrade 0.81.5 to 0.81.6, and hass.io will not restart.
I used a second SD card and did a fresh setup. I worked.
I installed SAMBA to get access.
I copied all stuff from my old configuration folder which I saved before to the new configuration folder and it doesnt work.

I started with a clean config.yaml I can check configurations and it works. I can add some components from my old configurations and it works.
But adding most parts the “check configuration” doesn’t finish and hasssio can’t start.

I can’t include into configuration any part containing a !secret

In case the configuration check can’t finish I get in the log errors like this:

018-11-11 14:24:22 ERROR (MainThread) [homeassistant.components.hassio] INFO:homeassistant.util.package:Attempting install of colorlog==3.1.4
Testing configuration at /config
ERROR:homeassistant.scripts.check_config:BURB
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 207, in check
    res['components'] = check_ha_config_file(hass)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 309, in check_ha_config_file
    config = load_yaml_config_file(config_path)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/config.py", line 364, in load_yaml_config_file
    conf_dict = load_yaml(config_path)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 939, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 1005, in _mock_call
    ret_val = effect(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 170, in mock_load
    return MOCKS['load'][1](filename)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 95, in load_yaml
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict()
  File "/usr/local/lib/python3.6/site-packages/yaml/__init__.py", line 72, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 37, in get_single_data
    return self.construct_document(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 41, in construct_document
    data = self.construct_object(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 232, in _construct_seq
    obj, = loader.construct_yaml_seq(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 393, in construct_yaml_seq
    data.extend(self.construct_sequence(node))
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in construct_sequence
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in <listcomp>
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 280, in _secret_yaml
    secrets = _load_secret_yaml(secret_path)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 258, in _load_secret_yaml
    secrets = load_yaml(secret_path)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 939, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 1005, in _mock_call
    ret_val = effect(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 170, in mock_load
    return MOCKS['load'][1](filename)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 95, in load_yaml
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict()
  File "/usr/local/lib/python3.6/site-packages/yaml/__init__.py", line 72, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 37, in get_single_data
    return self.construct_document(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 41, in construct_document
    data = self.construct_object(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 232, in _construct_seq
    obj, = loader.construct_yaml_seq(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 393, in construct_yaml_seq
    data.extend(self.construct_sequence(node))
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in construct_sequence
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in <listcomp>
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 280, in _secret_yaml
    secrets = _load_secret_yaml(secret_path)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 258, in _load_secret_yaml
    secrets = load_yaml(secret_path)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 939, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 1005, in _mock_call
    ret_val = effect(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 170, in mock_load
    return MOCKS['load'][1](filename)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 95, in load_yaml
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict()
  File "/usr/local/lib/python3.6/site-packages/yaml/__init__.py", line 72, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 37, in get_single_data
    return self.construct_document(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 41, in construct_document
    data = self.construct_object(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 232, in _construct_seq
    obj, = loader.construct_yaml_seq(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 393, in construct_yaml_seq
    data.extend(self.construct_sequence(node))
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in construct_sequence
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in <listcomp>
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 280, in _secret_yaml
    secrets = _load_secret_yaml(secret_path)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 258, in _load_secret_yaml
    secrets = load_yaml(secret_path)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 939, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 1005, in _mock_call
    ret_val = effect(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 170, in mock_load
    return MOCKS['load'][1](filename)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 95, in load_yaml
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict()
  File "/usr/local/lib/python3.6/site-packages/yaml/__init__.py", line 72, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 37, in get_single_data
    return self.construct_document(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 41, in construct_document
    data = self.construct_object(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 232, in _construct_seq
    obj, = loader.construct_yaml_seq(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 393, in construct_yaml_seq
    data.extend(self.construct_sequence(node))
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in construct_sequence
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in <listcomp>
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 280, in _secret_yaml
    secrets = _load_secret_yaml(secret_path)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 258, in _load_secret_yaml
    secrets = load_yaml(secret_path)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 939, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 1005, in _mock_call
    ret_val = effect(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 170, in mock_load
    return MOCKS['load'][1](filename)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 95, in load_yaml
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict()
  File "/usr/local/lib/python3.6/site-packages/yaml/__init__.py", line 72, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 37, in get_single_data
    return self.construct_document(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 41, in construct_document
    data = self.construct_object(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 232, in _construct_seq
    obj, = loader.construct_yaml_seq(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 393, in construct_yaml_seq
    data.extend(self.construct_sequence(node))
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in construct_sequence
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in <listcomp>
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 280, in _secret_yaml
    secrets = _load_secret_yaml(secret_path)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 258, in _load_secret_yaml
    secrets = load_yaml(secret_path)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 939, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 1005, in _mock_call
    ret_val = effect(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 170, in mock_load
    return MOCKS['load'][1](filename)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 95, in load_yaml
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict()
  File "/usr/local/lib/python3.6/site-packages/yaml/__init__.py", line 72, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 37, in get_single_data
    return self.construct_document(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 41, in construct_document
    data = self.construct_object(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 232, in _construct_seq
    obj, = loader.construct_yaml_seq(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 393, in construct_yaml_seq
    data.extend(self.construct_sequence(node))
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in construct_sequence
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in <listcomp>
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 280, in _secret_yaml
    secrets = _load_secret_yaml(secret_path)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 258, in _load_secret_yaml
    secrets = load_yaml(secret_path)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 939, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 1005, in _mock_call
    ret_val = effect(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 170, in mock_load
    return MOCKS['load'][1](filename)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 95, in load_yaml
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict()
  File "/usr/local/lib/python3.6/site-packages/yaml/__init__.py", line 72, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 37, in get_single_data
    return self.construct_document(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 41, in construct_document
    data = self.construct_object(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 232, in _construct_seq
    obj, = loader.construct_yaml_seq(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 393, in construct_yaml_seq
    data.extend(self.construct_sequence(node))
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in construct_sequence
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 116, in <listcomp>
    for child in node.value]
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 205, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 280, in _secret_yaml
    secrets = _load_secret_yaml(secret_path)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 258, in _load_secret_yaml
    secrets = load_yaml(secret_path)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 939, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 1005, in _mock_call
    ret_val = effect(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 170, in mock_load
    return MOCKS['load'][1](filename)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 95, in load_yaml
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict()
  File "/usr/local/lib/python3.6/site-packages/yaml/__init__.py", line 72, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.6/site-packages/yaml/constructor.py", line 37, in get_single_data
    return self.construct_document(node)

I need to shorten here, body is limited