diff --git a/src/panels/lovelace/cards/hui-tile-card.ts b/src/panels/lovelace/cards/hui-tile-card.ts index 75595d7bcd..9611a09a98 100644 --- a/src/panels/lovelace/cards/hui-tile-card.ts +++ b/src/panels/lovelace/cards/hui-tile-card.ts @@ -260,10 +260,12 @@ export class HuiTileCard extends LitElement implements LovelaceCard { const entityId = this._config.entity; const stateObj = entityId ? this.hass.states[entityId] : undefined; + const vertical = this._config.vertical ? "tile-vertical" : ""; + if (!stateObj) { return html` -
+
${this._shouldRenderRipple ? html`` : null} -
+