When using loop = asyncio.get_event_loop() as per the example and then in my coroutine assigning loop = loop I get a runtime error. However if I omit creating/getting the event thread all together this code works just fine and I am able to control my wiz lights just fine. Explanation?
When using
loop = asyncio.get_event_loop()
as per the example and then in my coroutine assigningloop = loop
I get a runtime error. However if I omit creating/getting the event thread all together this code works just fine and I am able to control my wiz lights just fine. Explanation?