Traceback (most recent call last):


 "/usr/src/app/homeassistant/core.py", line 1010, in _event_to_service_call

yield from service_handler.func(service_call)


 "/usr/src/app/homeassistant/components/configurator.py", line 224, in async_handle_service_call

call.data.get(ATTR_FIELDS, {}))


 "/usr/local/lib/python3.6/asyncio/futures.py", line 327, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup

future.result()


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

raise self._exception


 "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step

result = coro.send(None)


 "/usr/src/app/homeassistant/components/tradfri.py", line 70, in configuration_callback

key = yield from api_factory.generate_psk(security_code)


 "/config/deps/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 196, in generate_psk

self._psk = yield from self.request(command)


 "/config/deps/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 152, in request

result = yield from self._execute(api_commands)


 "/config/deps/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 144, in _execute

api_command.result = _process_output(res, parse_json)


 "/config/deps/lib/python3.6/site-packages/pytradfri/command.py", line 71, in result

self._result = self._process_result(value)


 "/config/deps/lib/python3.6/site-packages/pytradfri/gateway.py", line 29, in process_result

return result[ATTR_PSK]
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "C:\Users\Shahriyar\AppData\Local\Programs\Python\Python38-32\lib\site-packages\jishaku\cog_base.py", line 513, in jsk_python

async for send, result in AsyncSender(executor):


 "C:\Users\Shahriyar\AppData\Local\Programs\Python\Python38-32\lib\site-packages\jishaku\functools.py", line 109, in _internal

value = await base.asend(self.send_value)


 "C:\Users\Shahriyar\AppData\Local\Programs\Python\Python38-32\lib\site-packages\jishaku\repl\compilation.py", line 137, in traverse

async for send, result in AsyncSender(func(*self.args)):


 "C:\Users\Shahriyar\AppData\Local\Programs\Python\Python38-32\lib\site-packages\jishaku\functools.py", line 109, in _internal

value = await base.asend(self.send_value)


 "<repl>", line 1, in _repl_coroutine


 "C:\Users\Shahriyar\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\core.py", line 1106, in commands

return set(self.all_commands.values())
TypeError: unhashable type: 'list'
