Don't set step title if it's integration title (#34524)
This commit is contained in:
1 parent
ab7bd302f6
commit
e002c84eba
24 files changed
+11
-41
No files matched your search
@@ -121,7 +121,7 @@ def gen_strings_schema(config: Config, integration: Integration):
|
||||
config=config,
|
||||
integration=integration,
|
||||
flow_title=REMOVED,
|
||||
require_step_title=True,
|
||||
require_step_title=False,
|
||||
),
|
||||
vol.Optional("options"): gen_data_entry_schema(
|
||||
config=config,
|
||||
|
||||
@@ -133,10 +133,7 @@ def _custom_tasks(template, info) -> None:
|
||||
title=info.name,
|
||||
config={
|
||||
"step": {
|
||||
"confirm": {
|
||||
"title": info.name,
|
||||
"description": f"Do you want to set up {info.name}?",
|
||||
}
|
||||
"confirm": {"description": f"Do you want to set up {info.name}?"}
|
||||
},
|
||||
"abort": {
|
||||
"single_instance_allowed": f"Only a single configuration of {info.name} is possible.",
|
||||
|
||||
Reference in new issue
Block a user