mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Exception when client not in leases
Client can be dropped from leases list from where the status is retreived before it is dropped from the ip neigh list. The client needs a default status.
This commit is contained in:
parent
52ec4ac1d8
commit
65cc0954c8
@ -157,7 +157,8 @@ class AsusWrtDeviceScanner(object):
|
||||
devices[match.group('ip')] = {
|
||||
'ip': match.group('ip'),
|
||||
'mac': match.group('mac').upper(),
|
||||
'host': match.group('host')
|
||||
'host': match.group('host'),
|
||||
'status': ''
|
||||
}
|
||||
|
||||
for neighbor in neighbors:
|
||||
|
Loading…
x
Reference in New Issue
Block a user