Drop title from repairs flows (#83627)

This commit is contained in:
Erik Montnemery
2022-12-10 11:43:22 +01:00
committed by GitHub
parent 535aba10ee
commit d2fc3a22e2
5 changed files with 4 additions and 6 deletions
@@ -62,7 +62,7 @@ class EAConfirm(RepairsFlow):
if await nvr.get_is_prerelease():
return await self.async_step_confirm()
await self.hass.config_entries.async_reload(self._entry.entry_id)
return self.async_create_entry(title="", data={})
return self.async_create_entry(data={})
async def async_step_confirm(
self, user_input: dict[str, str] | None = None
@@ -72,7 +72,7 @@ class EAConfirm(RepairsFlow):
options = dict(self._entry.options)
options[CONF_ALLOW_EA] = True
self.hass.config_entries.async_update_entry(self._entry, options=options)
return self.async_create_entry(title="", data={})
return self.async_create_entry(data={})
placeholders = self._async_get_placeholders()
return self.async_show_form(