Skip to content

Commit

Permalink
Merge e1bf3e9 into 390f970
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Dec 26, 2022
2 parents 390f970 + e1bf3e9 commit b01553f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/powercalc/config_flow.py
Expand Up @@ -492,7 +492,9 @@ async def async_step_model(self, user_input: dict[str, str] = None) -> FlowResul
)
)
self.power_profile = profile
return await self.async_step_post_library()
errors = await self.validate_strategy_config()
if not errors:
return await self.async_step_post_library()

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

0 comments on commit b01553f

Please sign in to comment.