DeprecationWarning: loop argument
Opened this issue · 1 comments
Error reported continuously when using pyCEC with Home Assistant:
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:431: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=loop)
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:254: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=self._loop)
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:254: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=self._loop)
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:431: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=loop)
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:254: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=self._loop)
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:254: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: yield from asyncio.sleep(.3, loop=self._loop)
bash-5.0# python --version
Python 3.8.7
bash-5.0# pip show pycec
Name: pyCEC
Version: 0.4.14
...