#Example config flow code?

1 messages · Page 1 of 1 (latest)

sterile path
#

Can anyone point me at an example config_flow.py for integration onboarding?
Particularly one that prompts for data entry of a number of string values and a dictionary list?

I'm attempting to enhance an existing and fairly old integration, that was provisioned for the required Type, Port and other values in the configuration.yaml. I'd be quite happy with a yaml config, but Home Assistant is rejecting my attempts to stay with yaml, I guess favouring a UI config flow.

Perhaps were I an experienced Home Assistant integration developer the documentation on developing a config flow and data entry flow would be all I'd need. Unfortunately, I've found them unhelpful. A complete example file or two would get me a long way.

Thanks much.

opal cloak
#

Go to Channels & Roles and select "I want to contribute dev skills to Home Assistant".
You will get the Developer role and access to the support channels for devs.

sterile path
#

I saw that, didn't think I quite meet that criteria. But maybe the definition is meant to be loose, not strict. Okay, fine. Thanks.