mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Fixed conditional card state on 1st render (#1537)
* Fixed conditional card state on 1st render * Moved method to correct location
This commit is contained in:
parent
255ea41648
commit
b432324159
@ -51,6 +51,7 @@ class HuiConditionalCard extends PolymerElement {
|
||||
const element = createCardElement(config.card);
|
||||
element.hass = this.hass;
|
||||
root.appendChild(element);
|
||||
if (this.hass) this._hassChanged(this.hass);
|
||||
}
|
||||
|
||||
getCardSize() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user