Add onboarding support (#15492)

* Add onboarding support

* Lint

* Address comments

* Mark user step as done if owner user already created
This commit is contained in:
Paulus Schoutsen authored and Paulus Schoutsen committed 2018-07-17 10:58:51 +02:00
1 parent a14d8057ed
commit a4318682f7
8 files changed
+409 -2

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
"""Tests for the onboarding component."""
from homeassistant.components import onboarding
def mock_storage(hass_storage, data):
"""Mock the onboarding storage."""
hass_storage[onboarding.STORAGE_KEY] = {
'version': onboarding.STORAGE_VERSION,
'data': data
}