Add integration step to onboarding (#23732)

* Return an extra oauth2 auth code during onboarding

* Areas in const

* Add integration step

* Lint

* Fix tests

* Fix test

* Verify integration added to done

* Verify step is marked as done
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2019-05-07 22:51:24 -07:00
1 parent 07ee3b2eb9
commit f4016b4aad
9 files changed
+205 -25

No files matched your search

+9 -1
View File
@@ -1,7 +1,15 @@
"""Constants for the onboarding component."""
DOMAIN = 'onboarding'
STEP_USER = 'user'
STEP_INTEGRATION = 'integration'
STEPS = [
STEP_USER
STEP_USER,
STEP_INTEGRATION,
]
DEFAULT_AREAS = (
'living_room',
'kitchen',
'bedroom',
)