Cast fixes (#10598)

This commit is contained in:
Bram Kragten
2021-11-17 19:33:15 +01:00
committed by GitHub
parent 582fab7ea1
commit 7d94615f47
4 changed files with 27 additions and 16 deletions

View File

@@ -26,7 +26,9 @@ class HaEntityMarker extends LitElement {
? html`<div
class="entity-picture"
style=${styleMap({
"background-image": `url(${this.entityPicture})`,
"background-image": `url(${this.hass.hassUrl(
this.entityPicture
)})`,
})}
></div>`
: this.entityName}