Skip to content

Further untangle data entry flow#13855

Merged
balloob merged 3 commits intodevfrom
further-untangle-data-entry-flow
Apr 14, 2018
Merged

Further untangle data entry flow#13855
balloob merged 3 commits intodevfrom
further-untangle-data-entry-flow

Conversation

@balloob
Copy link
Copy Markdown
Member

@balloob balloob commented Apr 13, 2018

Description:

This will further untangle the data entry flow module from config entries. We no longer assume that we can always lookup the flow class in a dictionary and instantiate from there. Instead, we need to pass in a method to instantiate a config flow.

We now refer to handler instead of domain for the type of a handler. This also requires a frontend change: home-assistant/frontend#1084

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

Comment thread homeassistant/data_entry_flow.py Outdated
}


class SingleSchemaFlow(FlowHandler):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe should be inside helpers/flows.py?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I didn't want to include this one yet. It's for the auth work. Let me remove it.

@balloob balloob merged commit 4d44c0f into dev Apr 14, 2018
@balloob balloob deleted the further-untangle-data-entry-flow branch April 14, 2018 18:38
pvizeli added a commit that referenced this pull request Apr 15, 2018
pvizeli added a commit that referenced this pull request Apr 15, 2018
* Revert "Add unique_id for BMW ConnectedDrive (#13888)"

This reverts commit 9014e26.

* Revert "Added snips service descriptions (#13883)"

This reverts commit 1c4da0c.

* Revert "Fix race condition for component loaded before listening (#13887)"

This reverts commit bba997e.

* Revert "Missing property decorator added (#13889)"

This reverts commit bf98b79.

* Revert "Update frontend to 20180414.0"

This reverts commit 1617fbe.

* Revert "Further untangle data entry flow (#13855)"

This reverts commit 4d44c0f.

* Revert "add support for Kodi discovery (#13790)"

This reverts commit 5a5dad6.

* Revert "Update yweather.py (#13851)"

This reverts commit c3388d6.
@balloob balloob mentioned this pull request Apr 27, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants