mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 07:17:12 +00:00
Drop title from repairs flows (2) (#85597)
This commit is contained in:
parent
fa7d7415d7
commit
5fdf78ed30
@ -34,7 +34,7 @@ class ConfirmRepairFlow(RepairsFlow):
|
|||||||
) -> data_entry_flow.FlowResult:
|
) -> data_entry_flow.FlowResult:
|
||||||
"""Handle the confirm step of a fix flow."""
|
"""Handle the confirm step of a fix flow."""
|
||||||
if user_input is not None:
|
if user_input is not None:
|
||||||
return self.async_create_entry(title="", data={})
|
return self.async_create_entry(data={})
|
||||||
|
|
||||||
issue_registry = async_get_issue_registry(self.hass)
|
issue_registry = async_get_issue_registry(self.hass)
|
||||||
description_placeholders = None
|
description_placeholders = None
|
||||||
|
@ -99,7 +99,7 @@ class MockFixFlow(RepairsFlow):
|
|||||||
) -> data_entry_flow.FlowResult:
|
) -> data_entry_flow.FlowResult:
|
||||||
"""Handle a custom_step step of a fix flow."""
|
"""Handle a custom_step step of a fix flow."""
|
||||||
if user_input is not None:
|
if user_input is not None:
|
||||||
return self.async_create_entry(title="", data={})
|
return self.async_create_entry(data={})
|
||||||
|
|
||||||
return self.async_show_form(step_id="custom_step", data_schema=vol.Schema({}))
|
return self.async_show_form(step_id="custom_step", data_schema=vol.Schema({}))
|
||||||
|
|
||||||
@ -334,7 +334,6 @@ async def test_fix_issue(
|
|||||||
"description_placeholders": None,
|
"description_placeholders": None,
|
||||||
"flow_id": flow_id,
|
"flow_id": flow_id,
|
||||||
"handler": domain,
|
"handler": domain,
|
||||||
"title": "",
|
|
||||||
"type": "create_entry",
|
"type": "create_entry",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user