Remove unnecessary title kwarg in options flows (#85131)

This commit is contained in:
Aaron Bach 2023-01-04 12:17:58 -07:00 committed by GitHub
parent 439b35c310
commit b80997cc43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -172,7 +172,7 @@ class RainMachineOptionsFlowHandler(config_entries.OptionsFlow):
) -> FlowResult:
"""Manage the options."""
if user_input is not None:
return self.async_create_entry(title="", data=user_input)
return self.async_create_entry(data=user_input)
return self.async_show_form(
step_id="init",