mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 12:46:35 +00:00
Fix picture-element
card elements (#2202)
This commit is contained in:
parent
64d59fedc8
commit
647a33ea61
@ -71,11 +71,13 @@ class HuiPictureElementsCard extends LitElement implements LovelaceCard {
|
|||||||
.entity="${this._config.entity}"
|
.entity="${this._config.entity}"
|
||||||
.aspectRatio="${this._config.aspect_ratio}"
|
.aspectRatio="${this._config.aspect_ratio}"
|
||||||
></hui-image>
|
></hui-image>
|
||||||
${
|
<div id="root">
|
||||||
this._config.elements.map((elementConfig: LovelaceElementConfig) =>
|
${
|
||||||
this._createHuiElement(elementConfig)
|
this._config.elements.map((elementConfig: LovelaceElementConfig) =>
|
||||||
)
|
this._createHuiElement(elementConfig)
|
||||||
}
|
)
|
||||||
|
}
|
||||||
|
</div>
|
||||||
</ha-card>
|
</ha-card>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user