Default to on if logged in (#18766)
This commit is contained in:
1 parent
f860cac4ea
commit
311c796da7
2 files changed
+2
-1
No files matched your search
@@ -248,7 +248,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
|
||||
|
||||
Reference in new issue
Block a user