mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 18:48:22 +00:00
UniFi - Disconnected clients wrongfully marked as wired not created (#34986)
This commit is contained in:
parent
12119f89e5
commit
77d89d13b6
@ -101,7 +101,7 @@ def add_entities(controller, async_add_entities):
|
|||||||
|
|
||||||
if tracker_class is UniFiClientTracker:
|
if tracker_class is UniFiClientTracker:
|
||||||
|
|
||||||
if item.is_wired:
|
if mac not in controller.wireless_clients:
|
||||||
if not controller.option_track_wired_clients:
|
if not controller.option_track_wired_clients:
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user