UniFi - Disconnected clients wrongfully marked as wired not created (#34986)

This commit is contained in:
Robert Svensson 2020-05-01 06:06:16 +02:00 committed by GitHub
parent 3e06e6b4b3
commit 7b90cbd2b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ def add_entities(controller, async_add_entities):
if tracker_class is UniFiClientTracker:
if item.is_wired:
if mac not in controller.wireless_clients:
if not controller.option_track_wired_clients:
continue
else: