diff --git a/src/panels/lovelace/hui-view.js b/src/panels/lovelace/hui-view.js index a815adef68..fc4d7ca69a 100644 --- a/src/panels/lovelace/hui-view.js +++ b/src/panels/lovelace/hui-view.js @@ -122,7 +122,7 @@ class HUIView extends PolymerElement { root.removeChild(root.lastChild); } - if (!config) { + if (!config || !config.cards || !Array.isArray(config.cards)) { this._cards = []; return; }