core/homeassistant/components/sonos
Jason Hu f58425dd3c Refactor data entry flow (#15883)
* Refactoring data_entry_flow and config_entry_flow

Move SOURCE_* to config_entries
Change data_entry_flow.FlowManager.async_init() source param default
 to None
Change this first step_id as source or init if source is None
_BaseFlowManagerView pass in SOURCE_USER as default source

* First step of data entry flow decided by _async_create_flow() now

* Lint

* Change helpers.config_entry_flow.DiscoveryFlowHandler default step

* Change FlowManager.async_init source param to context dict param
2018-08-09 13:24:14 +02:00
..
.translations Update translations 2018-08-02 13:42:45 +02:00
__init__.py Refactor data entry flow (#15883) 2018-08-09 13:24:14 +02:00
strings.json Add config entry for Sonos + Cast (#14955) 2018-06-14 15:17:54 -04:00