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:
1 parent
a14d8057ed
commit
a4318682f7
8 files changed
+409
-2
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user