I am having a lot of problems with the asuswrt component, which I use for presence detection. I am getting a lot of these errors:
2019-05-05 22:02:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/device_tracker/init.py”, line 703, in async_device_tracker_scan
found_devices = await scanner.async_scan_devices()
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/asuswrt/device_tracker.py”, line 36, in async_scan_devices
await self.async_update_info()
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/asuswrt/device_tracker.py”, line 52, in async_update_info
self.last_results = await self.connection.async_get_connected_devices()
File “/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py”, line 166, in async_get_connected_devices
dev = await self.async_get_wl()
File “/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py”, line 102, in async_get_wl
lines = await self.connection.async_run_command(_WL_CMD)
File “/usr/local/lib/python3.7/site-packages/aioasuswrt/connection.py”, line 37, in async_run_command
result = await asyncio.wait_for(self._client.run(
AttributeError: ‘SshConnection’ object has no attribute ‘_client’
It is working sometimes, but often not at all. My configuration is:
Having the same problem. Raised a github issue a while ago, but no solution yet. I tried telnet, ssh key and password, with both SSH methods giving the same problem - object has no attribute ‘_client’.
If anyone found a fix i would be grateful as this was my main presence detection.
I’m on HA 0.104.3 and i’m still having this issue.
A reboot typically solves the issue, but it is annoying because it causes some instability on my HA installation