Skip to content

Commit

Permalink
Remove placeholder controller options from config flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Zach Cheatham committed Feb 24, 2023
1 parent 62bec02 commit eb26807
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 @@ -113,7 +113,7 @@ async def async_step_device_tracker(self, user_input=None):
elif self.options[CONF_TRACK_DEVICES]:
return await self.async_step_device_options()
else:
return await self.async_step_controller_options()
return await self._update_options()


return self.async_show_form(
Expand All @@ -137,7 +137,7 @@ async def async_step_client_options(self, user_input=None):
if self.options[CONF_TRACK_DEVICES]:
return await self.async_step_device_options()
else:
return await self.async_step_controller_options()
return await self._update_options()

ssid_filter = {ssid: ssid for ssid in sorted(self.controller.api.ssids)}

Expand Down Expand Up @@ -172,7 +172,6 @@ async def async_step_device_options(self, user_input=None):
if user_input is not None:
self.options.update(user_input)
return await self._update_options()
#return await self.async_step_controller_options()

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

0 comments on commit eb26807

Please sign in to comment.