sbidy / pywizlight

A python connector for WiZ devices
MIT License
463 stars 79 forks source link

Event Loop throws runtime error #6

Closed Raynman77 closed 3 years ago

Raynman77 commented 4 years ago

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?

image

sbidy commented 3 years ago

Please reopen if still exists.