core/homeassistant
Jc2k 6b519499a7 Don't expose flows that aren't initialised. (#30432)
* Don't expose flows that aren't initialised.

If a flow init does not return immediately then there is a window where our
behaviour is screwy:

 * Can try to configure a flow that isn't ready
 * Can show notifications for discoveries that might yet return an abort

This moves the flow discovery events and notifications to after the flow is
initialised and hides flows that don't have a cur_step from async_progress

* Fix tradfri test

* Black.

* Lint fixes
2020-01-03 17:28:05 +01:00
..
auth Rework FlowManager to use inheritance (#30133) 2020-01-03 11:52:01 +01:00
components isort homekit (#30437) 2020-01-03 15:00:44 +00:00
generated Add local_ip component (#29973) 2019-12-31 14:34:53 +01:00
helpers Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
scripts Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
util Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
__init__.py
__main__.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
bootstrap.py Remove unnecessary string literal concatenations (#30360) 2020-01-02 21:17:10 +02:00
config.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
config_entries.py Don't expose flows that aren't initialised. (#30432) 2020-01-03 17:28:05 +01:00
const.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
core.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
data_entry_flow.py Don't expose flows that aren't initialised. (#30432) 2020-01-03 17:28:05 +01:00
exceptions.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
loader.py Remove unnecessary string literal concatenations (#30360) 2020-01-02 21:17:10 +02:00
package_constraints.txt Upgrade zeroconf to 0.24.4 (#30347) 2020-01-01 14:04:37 +01:00
requirements.py Sort imports for requirements.py and its test using isort (#29836) 2019-12-11 12:12:06 +01:00
setup.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00