mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +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
|
continue
|
||||||
else:
|
else:
|
||||||
if (
|
if (
|
||||||
controller.option_ssid_filter
|
item.essid
|
||||||
|
and controller.option_ssid_filter
|
||||||
and item.essid not in controller.option_ssid_filter
|
and item.essid not in controller.option_ssid_filter
|
||||||
):
|
):
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user