Add scaffold for helper integration config flow (#67803)
This commit is contained in:
parent
aa82f96c16
commit
f0dba8ec70
10 changed files with 316 additions and 0 deletions
|
@ -150,6 +150,19 @@ def _custom_tasks(template, info: Info) -> None:
|
|||
},
|
||||
)
|
||||
|
||||
elif template == "config_flow_helper":
|
||||
info.update_manifest(config_flow=True)
|
||||
info.update_strings(
|
||||
config={
|
||||
"step": {
|
||||
"init": {
|
||||
"description": "Select the sensor for the NEW_NAME.",
|
||||
"data": {"entity_id": "Sensor entity"},
|
||||
},
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
elif template == "config_flow_oauth2":
|
||||
info.update_manifest(config_flow=True, dependencies=["http"])
|
||||
info.update_strings(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue