
Traceback (most recent call last):


 "/home/mox/projects/iverilog/cocotb/cocotb/cocotb/decorators.py", line 218, in _advance

return outcome.send(self._coro)


 "/home/mox/projects/iverilog/cocotb/cocotb/cocotb/outcomes.py", line 37, in send

return gen.send(self.value)


 "/home/mox/projects/iverilog/cocotb/cocotb/tests/test_cases/test_iteration_verilog/test_iteration_es.py", line 66, in recursive_discovery

total = dump_all_the_things(dut)


 "/home/mox/projects/iverilog/cocotb/cocotb/tests/test_cases/test_iteration_verilog/test_iteration_es.py", line 62, in dump_all_the_things

count += dump_all_the_things(thing)


 "/home/mox/projects/iverilog/cocotb/cocotb/tests/test_cases/test_iteration_verilog/test_iteration_es.py", line 57, in dump_all_the_things

for thing in parent:

RuntimeError: generator raised StopIteration

Traceback (most recent call last):


 "/Users/markus/Documents/GitHub/home-assistant/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform

SLOW_SETUP_MAX_WAIT, loop=hass.loop)


 "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/tasks.py", line 416, in wait_for

return fut.result()


 "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/concurrent/futures/thread.py", line 57, in run

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


 "/Users/markus/Documents/GitHub/home-assistant/homeassistant/components/homematic/binary_sensor.py", line 46, in setup_platform

devices.append(new_device)
UnboundLocalError: local variable 'new_device' referenced before assignment
