Fix lovelace save (#19162)
This commit is contained in:
1 parent
fdea9cb426
commit
da338f2c1a
2 files changed
+3
-3
No files matched your search
@@ -101,8 +101,8 @@ class LovelaceStorage:
|
||||
|
||||
async def async_save(self, config):
|
||||
"""Save config."""
|
||||
self._data = {'config': config}
|
||||
await self._store.async_save(config)
|
||||
self._data['config'] = config
|
||||
await self._store.async_save(self._data)
|
||||
|
||||
|
||||
class LovelaceYAML:
|
||||
|
||||
Reference in new issue
Block a user