mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-19 18:25:26 +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] = {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue