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):


 ".venv/bin/celery", line 11, in <module>

sys.exit(main())


 ".venv/lib/python3.5/site-packages/celery/__main__.py", line 14, in main

_main()


 ".venv/lib/python3.5/site-packages/celery/bin/celery.py", line 326, in main

cmd.execute_from_commandline(argv)


 ".venv/lib/python3.5/site-packages/celery/bin/celery.py", line 488, in execute_from_commandline

super(CeleryCommand, self).execute_from_commandline(argv)))


 ".venv/lib/python3.5/site-packages/celery/bin/base.py", line 281, in execute_from_commandline

return self.handle_argv(self.prog_name, argv[1:])


 ".venv/lib/python3.5/site-packages/celery/bin/celery.py", line 480, in handle_argv

return self.execute(command, argv)


 ".venv/lib/python3.5/site-packages/celery/bin/celery.py", line 412, in execute

).run_from_argv(self.prog_name, argv[1:], command=argv[0])


 ".venv/lib/python3.5/site-packages/celery/bin/base.py", line 285, in run_from_argv

sys.argv if argv is None else argv, command)


 ".venv/lib/python3.5/site-packages/celery/bin/base.py", line 368, in handle_argv

return self(*args, **options)


 ".venv/lib/python3.5/site-packages/celery/bin/base.py", line 244, in __call__

ret = self.run(*args, **kwargs)


 ".venv/lib/python3.5/site-packages/celery/bin/migrate.py", line 65, in run

**kwargs)


 ".venv/lib/python3.5/site-packages/celery/contrib/migrate.py", line 119, in migrate_tasks

on_declare_queue=on_declare_queue, **kwargs)


 ".venv/lib/python3.5/site-packages/celery/contrib/migrate.py", line 356, in start_filter

**kwargs).start()


 ".venv/lib/python3.5/site-packages/celery/contrib/migrate.py", line 279, in start

ignore_timeouts=self.forever):


 ".venv/lib/python3.5/site-packages/kombu/common.py", line 204, in eventloop

yield conn.drain_events(timeout=timeout)


 ".venv/lib/python3.5/site-packages/kombu/connection.py", line 301, in drain_events

return self.transport.drain_events(self.connection, **kwargs)


 ".venv/lib/python3.5/site-packages/kombu/transport/virtual/base.py", line 961, in drain_events

get(self._deliver, timeout=timeout)


 ".venv/lib/python3.5/site-packages/kombu/transport/redis.py", line 359, in get

ret = self.handle_event(fileno, event)


 ".venv/lib/python3.5/site-packages/kombu/transport/redis.py", line 341, in handle_event

return self.on_readable(fileno), self


 ".venv/lib/python3.5/site-packages/kombu/transport/redis.py", line 337, in on_readable

chan.handlers[type]()


 ".venv/lib/python3.5/site-packages/kombu/transport/redis.py", line 724, in _brpop_read

self.connection._deliver(loads(bytes_to_str(item)), dest)


 ".venv/lib/python3.5/site-packages/kombu/transport/virtual/base.py", line 981, in _deliver

callback(message)


 ".venv/lib/python3.5/site-packages/kombu/transport/virtual/base.py", line 633, in _callback

return callback(message)


 ".venv/lib/python3.5/site-packages/kombu/messaging.py", line 623, in _receive_callback

return on_m(message) if on_m else self.receive(decoded, message)


 ".venv/lib/python3.5/site-packages/kombu/messaging.py", line 589, in receive

[callback(body, message) for callback in callbacks]


 ".venv/lib/python3.5/site-packages/kombu/messaging.py", line 589, in <listcomp>

[callback(body, message) for callback in callbacks]


 ".venv/lib/python3.5/site-packages/celery/bin/migrate.py", line 56, in on_migrate_task

self.out(self.progress_fmt.format(state=state, body=body))
TypeError: list indices must be integers or slices, not str
