Traceback (most recent call last):


 "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run

return loop.run_until_complete(main)


 "/usr/local/lib/python3.7/asyncio/base_events.py", line 583, in run_until_complete

return future.result()


 "/usr/src/homeassistant/homeassistant/__main__.py", line 249, in setup_and_run_hass

safe_mode=args.safe_mode,


 "/usr/src/homeassistant/homeassistant/bootstrap.py", line 89, in async_setup_hass

await async_from_config_dict(config_dict, hass)


 "/usr/src/homeassistant/homeassistant/bootstrap.py", line 132, in async_from_config_dict

await _async_set_up_integrations(hass, config)


 "/usr/src/homeassistant/homeassistant/bootstrap.py", line 377, in _async_set_up_integrations

*(async_setup_component(hass, domain, config) for domain in domains_to_load)


 "/usr/src/homeassistant/homeassistant/setup.py", line 49, in async_setup_component

return await task
# type: ignore


 "/usr/src/homeassistant/homeassistant/setup.py", line 145, in _async_setup_component

hass, config, integration


 "/usr/src/homeassistant/homeassistant/config.py", line 704, in async_process_component_config

return component.CONFIG_SCHEMA(config)
# type: ignore


 "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__

return self._compiled([], data)


 "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict

return base_validate(path, iteritems(data), out)


 "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping

cval = cvalue(key_path, value)


 "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable

return schema(data)


 "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__

return self._compiled([], data)


 "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict

return base_validate(path, iteritems(data), out)


 "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 373, in validate_mapping

new_key = ckey(key_path, key)


 "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable

return schema(data)


 "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 659, in validator

value = config[key]
TypeError: string indices must be integers

Traceback (most recent call last):


 "configure_vcsa.py", line 12, in <module>

vcc.run(True)


 "/root/repos/[REDACTED]/core/vmware/config.py", line 273, in run

host_profile.remediate_host(host.remote_obj)


 "/root/repos/[REDACTED]/core/vmware/config.py", line 130, in remediate_host

profile_manager.ApplyHostConfig_Task(host_obj, config_spec, require_input)


 "/usr/lib/python3.4/site-packages/pyVmomi/VmomiSupport.py", line 580, in <lambda>

self.f(*(self.args + (obj,) + args), **kwargs)


 "/usr/lib/python3.4/site-packages/pyVmomi/VmomiSupport.py", line 385, in _InvokeMethod

list(map(CheckField, info.params, args))


 "/usr/lib/python3.4/site-packages/pyVmomi/VmomiSupport.py", line 915, in CheckField

raise TypeError('Required field "%s" not provided (not @optional)' % info.name)
TypeError: Required field "configSpec" not provided (not @optional)
