mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-06-24 01:38:49 +02:00
fixed unpack error when mikrotik is rebooted
This commit is contained in:
parent
1b014c94b5
commit
58ef81d840
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ class MikrotikControllerData():
|
|||
"""Get list of hosts in ARP for interface client data from Mikrotik"""
|
||||
data = self.api.path("/ip/arp")
|
||||
if not data:
|
||||
return
|
||||
return mac2ip, bridge_used
|
||||
|
||||
for entry in data:
|
||||
# Ignore invalid entries
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue