Default to on if logged in (#18766)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2018-11-28 22:17:37 +01:00
1 parent 0bdf96d94c
commit e06fa0d2d0
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -253,7 +253,7 @@ class Cloud:
info = await self.hass.async_add_job(load_config)
await self.prefs.async_initialize(not info)
await self.prefs.async_initialize(bool(info))
if info is None:
return