Fix cloud defaults (#19172)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2018-12-11 06:50:54 +01:00
1 parent 92e19f6001
commit 557720b094
4 files changed
+6 -9

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ def mock_cloudhooks(hass):
cloud.iot = Mock(async_send_message=Mock(return_value=mock_coro()))
cloud.cloudhook_create_url = 'https://webhook-create.url'
cloud.prefs = prefs.CloudPreferences(hass)
hass.loop.run_until_complete(cloud.prefs.async_initialize(True))
hass.loop.run_until_complete(cloud.prefs.async_initialize())
return cloudhooks.Cloudhooks(cloud)