mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
UniFi - Only match ssid filter if ssid is present, this will only affect recently disconnected clients and clients which have a previously created entry in entity registry (#34509)
This commit is contained in:
parent
e004cd029a
commit
867138ebb8
@ -106,7 +106,8 @@ def add_entities(controller, async_add_entities):
|
||||
continue
|
||||
else:
|
||||
if (
|
||||
controller.option_ssid_filter
|
||||
item.essid
|
||||
and controller.option_ssid_filter
|
||||
and item.essid not in controller.option_ssid_filter
|
||||
):
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user