mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Add extra check for ESSID field in case there's a wired connection (#13459)
This commit is contained in:
parent
8ab5978db3
commit
a5ae77ab93
@ -98,7 +98,8 @@ class UnifiScanner(DeviceScanner):
|
|||||||
# Filter clients to provided SSID list
|
# Filter clients to provided SSID list
|
||||||
if self._ssid_filter:
|
if self._ssid_filter:
|
||||||
clients = [client for client in clients
|
clients = [client for client in clients
|
||||||
if client['essid'] in self._ssid_filter]
|
if 'essid' in client and
|
||||||
|
client['essid'] in self._ssid_filter]
|
||||||
|
|
||||||
self._clients = {
|
self._clients = {
|
||||||
client['mac']: client
|
client['mac']: client
|
||||||
|
Loading…
x
Reference in New Issue
Block a user