Fix lovelace save (#19162)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2018-12-10 12:25:08 +01:00
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: