mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Add scaffold for helper integration config flow (#67803)
This commit is contained in:
@@ -59,6 +59,8 @@ def main():
|
||||
# If it's a new integration and it's not a config flow,
|
||||
# create a config flow too.
|
||||
if not args.template.startswith("config_flow"):
|
||||
if info.helper:
|
||||
template = "config_flow_helper"
|
||||
if info.oauth2:
|
||||
template = "config_flow_oauth2"
|
||||
elif info.authentication or not info.discoverable:
|
||||
|
||||
Reference in New Issue
Block a user