Skip to content

Commit

Permalink
Fix last_step for a couple config flow forms
Browse files Browse the repository at this point in the history
  • Loading branch information
pnbruckner committed Jan 12, 2024
1 parent 852ed75 commit 6f6b96d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions custom_components/composite/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def async_step_options(
},
)
return self.async_show_form(
step_id="options", data_schema=data_schema, errors=errors
step_id="options", data_schema=data_schema, errors=errors, last_step=False
)

async def async_step_use_picture(
Expand Down Expand Up @@ -144,7 +144,9 @@ async def async_step_use_picture(
data_schema = self.add_suggested_values_to_schema(
data_schema, {CONF_ENTITY: picture_entity_id}
)
return self.async_show_form(step_id="use_picture", data_schema=data_schema)
return self.async_show_form(
step_id="use_picture", data_schema=data_schema, last_step=False
)

async def async_step_all_states(
self, user_input: dict[str, Any] | None = None
Expand Down

0 comments on commit 6f6b96d

Please sign in to comment.