Skip to content

Commit

Permalink
Fix #81
Browse files Browse the repository at this point in the history
  • Loading branch information
zachcheatham committed Oct 14, 2023
1 parent cade89d commit 257cccc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions custom_components/omada/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,8 @@ async def async_step_client_options(self, user_input=None):
ssid_filter = {ssid: ssid for ssid in sorted(self.controller.api.ssids)}

# Remove selected options that may not exist anymore.
ssid_filter_default = filter(
lambda i: i in ssid_filter, self.controller.option_ssid_filter
)
ssid_filter_default = list(filter(
lambda i: i in ssid_filter, self.controller.option_ssid_filter))

return self.async_show_form(
step_id="client_options",
Expand Down

0 comments on commit 257cccc

Please sign in to comment.