Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error setting ssh platform #13

Open
AudriusTGo opened this issue Aug 5, 2020 · 0 comments
Open

error setting ssh platform #13

AudriusTGo opened this issue Aug 5, 2020 · 0 comments

Comments

@AudriusTGo
Copy link

sensor isnt created, and i receive following message. I can manually ssh from hassio to remote rpi.

Logger: homeassistant.components.sensor
Source: custom_components/ssh/sensor.py:136
Integration: Sensor (documentation, issues)
First occurred: 10:14:35 (1 occurrences)
Last logged: 10:14:35

Error while setting up ssh platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 179, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 483, in wait_for
return fut.result()
File "/usr/local/lib/python3.8/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.8/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
Home Assistant has started!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant