Don't give rows hass if it doesn't exist
This commit is contained in:
parent
1cb48457d2
commit
5ab35c5410
@ -68,7 +68,7 @@ class FoldEntityRow extends LitElement {
|
||||
conf = (typeof conf === "string") ? {entity: conf} : conf;
|
||||
conf = Object.assign(conf, options);
|
||||
const element = window.cardTools.createEntityRow(conf);
|
||||
element.hass = this._hass;
|
||||
if(this._hass) element.hass = this._hass;
|
||||
|
||||
const DOMAINS_HIDE_MORE_INFO = [
|
||||
"input_number",
|
||||
|
Loading…
x
Reference in New Issue
Block a user