Skip to content

Commit

Permalink
test exit when config not available
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Aug 6, 2024
1 parent a4d5e13 commit 74b866e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions custom_components/eltako/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,7 @@ async def manual_selection_routine(self, user_input=None, manual_setp:bool=False
if manual_setp or len(serial_paths) == 0:
# errors = {CONF_SERIAL_PATH: ERROR_NO_SERIAL_PATH_AVAILABLE}
if len(g_list) == 0:
return self.async_show_form(
step_id="manual",
data_schema=vol.Schema({}),
errors=errors,
)
return self.create_eltako_entry(user_input)
else:
return self.async_show_form(
step_id="manual",
Expand Down

0 comments on commit 74b866e

Please sign in to comment.