-
Notifications
You must be signed in to change notification settings - Fork 13
Description
After recent updates I am having this error. I suspect it may be my Linux machine not responding in a timely manner.
https://stackoverflow.com/questions/20054030/pxssh-error-could-not-synchronize-with-original-prompt
My logs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.9/asyncio/coroutines.py", line 124, in coro
res = func(*args, **kw)
File "/config/custom_components/ssh/sensor.py", line 48, in async_setup_platform
dev.append(SSHSensor(hass, config))
File "/config/custom_components/ssh/sensor.py", line 66, in init
self._connect()
File "/config/custom_components/ssh/sensor.py", line 136, in _connect
self._ssh.login(self._host, self._username,
File "/usr/local/lib/python3.9/site-packages/pexpect/pxssh.py", line 426, in login
raise ExceptionPxssh('could not synchronize with original prompt')
pexpect.pxssh.ExceptionPxssh: could not synchronize with original prompt