diff --git a/src/main.ts b/src/main.ts index 514fcc4..5a9768e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -51,7 +51,7 @@ class FoldEntityRow extends LitElement { } async _finishSetup() { - let head = ensureObject(this._config.entity || this._config.head); + let head = ensureObject(this._config.head || this._config.entity); if (!head) { throw new Error("No fold head specified"); }