Traceback (most recent call last):


 "/usr/src/app/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform

SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)


 "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for

return fut.result()


 "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result

raise self._exception


 "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/app/homeassistant/components/media_player/directv.py", line 62, in setup_platform

dtvs.append(DirecTvDevice(*host))
TypeError: __init__() missing 1 required positional argument: 'device'

Traceback (most recent call last):


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

execute_from_command_line(sys.argv)


 "/Users/nader/.virtualenvs/wagtail/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line

utility.execute()


 "/Users/nader/.virtualenvs/wagtail/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/Users/nader/.virtualenvs/wagtail/lib/python3.5/site-packages/django/core/management/base.py", line 294, in run_from_argv

self.execute(*args, **cmd_options)


 "/Users/nader/.virtualenvs/wagtail/lib/python3.5/site-packages/django/core/management/base.py", line 345, in execute

output = self.handle(*args, **options)


 "/Users/nader/.virtualenvs/wagtail/lib/python3.5/site-packages/wagtail/wagtailsearch/management/commands/update_index.py", line 120, in handle

self.update_backend(backend_name, schema_only=options['schema_only'])


 "/Users/nader/.virtualenvs/wagtail/lib/python3.5/site-packages/wagtail/wagtailsearch/management/commands/update_index.py", line 77, in update_backend

index.add_model(model)


 "/Users/nader/.virtualenvs/wagtail/lib/python3.5/site-packages/wagtail/wagtailsearch/backends/elasticsearch2.py", line 113, in add_model

index=self.name, doc_type=mapping.get_document_type(), body=mapping.get_mapping(),


 "/Users/nader/.virtualenvs/wagtail/lib/python3.5/site-packages/wagtail/wagtailsearch/backends/elasticsearch.py", line 62, in get_document_type

return self.model.indexed_get_content_type()


 "/Users/nader/.virtualenvs/wagtail/lib/python3.5/site-packages/wagtail/wagtailsearch/index.py", line 34, in indexed_get_content_type

parent_content_type = parent.indexed_get_content_type()


 "/Users/nader/.virtualenvs/wagtail/lib/python3.5/site-packages/wagtail/wagtailsearch/index.py", line 29, in indexed_get_content_type

content_type = (cls._meta.app_label + '_' + cls.__name__).lower()
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
