mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 02:38:10 +02:00
Add scaffold for helper integration config flow (#67803)
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user