mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
add return None for get_actiontec_data
This commit is contained in:
parent
63e441c73f
commit
93bd238be5
@ -130,6 +130,7 @@ class ActiontecDeviceScanner(object):
|
||||
telnet.read_until(prompt)
|
||||
leases_result = telnet.read_until(prompt).split(b'\n')[1:-1]
|
||||
telnet.write('exit\n'.encode('ascii'))
|
||||
return None
|
||||
except EOFError:
|
||||
_LOGGER.exception("Unexpected response from router")
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user