mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-30 15:34:31 +02:00
do not track wireless devices marked as AP #24
This commit is contained in:
parent
6b3ed595ff
commit
e62e67e918
2 changed files with 6 additions and 1 deletions
|
@ -890,6 +890,9 @@ class MikrotikControllerData:
|
|||
if self.support_wireless:
|
||||
wireless_detected = {}
|
||||
for uid, vals in self.data["wireless_hosts"].items():
|
||||
if vals["ap"] == "yes":
|
||||
continue
|
||||
|
||||
if uid not in self.data["host"]:
|
||||
self.data["host"][uid] = {}
|
||||
|
||||
|
|
|
@ -32,7 +32,9 @@
|
|||
"data": {
|
||||
"scan_interval": "Scan interval (requires HA restart)",
|
||||
"track_iface_clients": "Show client MAC and IP on interfaces",
|
||||
"unit_of_measurement": "Unit of measurement"
|
||||
"unit_of_measurement": "Unit of measurement",
|
||||
"track_network_clients": "Track network devices",
|
||||
"scan_interval": "Scan interval (requires HA restart)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue