UniFi - Catch wlan_override without name key (#35366)

This commit is contained in:
Robert Svensson 2020-05-08 18:51:10 +02:00 committed by GitHub
parent ad419911bc
commit c19b222d5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View file

@ -240,6 +240,7 @@ class UnifiOptionsFlowHandler(config_entries.OptionsFlow):
wlan["name"]
for ap in self.controller.api.devices.values()
for wlan in ap.wlan_overrides
if "name" in wlan
}
)
ssid_filter = {ssid: ssid for ssid in sorted(list(ssids))}