mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-29 06:08:09 +02:00
fixed comment
This commit is contained in:
parent
b962a5ee85
commit
4d02e9123a
1 changed files with 1 additions and 1 deletions
|
@ -819,7 +819,7 @@ class MikrotikControllerData:
|
||||||
elif self.data["host"][uid]["hostname"] == "unknown":
|
elif self.data["host"][uid]["hostname"] == "unknown":
|
||||||
self.data["host"][uid]["hostname"] = uid
|
self.data["host"][uid]["hostname"] = uid
|
||||||
|
|
||||||
# Check host availability
|
# Check host availability
|
||||||
if vals["address"] != "unknown" and vals["interface"] != "unknown":
|
if vals["address"] != "unknown" and vals["interface"] != "unknown":
|
||||||
self.data["host"][uid]["available"] = \
|
self.data["host"][uid]["available"] = \
|
||||||
self.api.arp_ping(vals["address"], vals["interface"])
|
self.api.arp_ping(vals["address"], vals["interface"])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue