Description
- Satel Integra version: 0.2.0
- Python version: 3.7.2 (python3.7_3.7.2-1_amd64.deb)
- Operating System: Debian Sid/Unstable
Description
Debian Sid moved to python 3.7 as main python3 interpreter so I created fresh venv for HomeAssistant and installed from scratch.
During HA start there is:
hass[2286]: /home/hass/ha37/lib/python3.7/site-packages/satel_integra/satel_integra.py:327: RuntimeWarning: coroutine 'StreamReader.readuntil' was never awaited
hass[2286]: data = yield from self._reader.readuntil(b'\xFE\x0D')
hass[2286]: RuntimeWarning: Enable tracemalloc to get the object allocation traceback
hass[2286]: 2019-01-25 09:51:29 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
hass[2286]: Traceback (most recent call last):
hass[2286]: File "/home/hass/ha37/lib/python3.7/site-packages/satel_integra/satel_integra.py", line 398, in monitor_status
hass[2286]: yield from self.start_monitoring()
hass[2286]: File "/home/hass/ha37/lib/python3.7/site-packages/satel_integra/satel_integra.py", line 172, in start_monitoring
hass[2286]: resp = yield from self._read_data()
hass[2286]: File "/home/hass/ha37/lib/python3.7/site-packages/satel_integra/satel_integra.py", line 327, in _read_data
hass[2286]: data = yield from self._reader.readuntil(b'\xFE\x0D')
hass[2286]: TypeError: cannot 'yield from' a coroutine object in a non-coroutine generator
and the component is not working.