Add ability to expand groups dynamically. Fix thomasloven/lovelace-auto-entities#18
This commit is contained in:
1 parent
44c666e421
commit
e3f585601f
3 files changed
+20
-1
No files matched your search
@@ -24,6 +24,8 @@ class FoldEntityRow extends LitElement {
|
||||
this.open = this.open || this._config.open;
|
||||
|
||||
this.head = this._config.head;
|
||||
if (this._config.entity)
|
||||
this.head = this._config.entity;
|
||||
if (typeof this.head === "string")
|
||||
this.head = {entity: this.head};
|
||||
|
||||
|
||||
Reference in new issue
Block a user