From 19ee1503950197de6a2123d0d795d38d8b82f5e8 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Wed, 3 Jul 2024 11:54:11 +0200 Subject: [PATCH] Remove layout options for media player (#21258) --- .../lovelace/cards/hui-media-control-card.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/panels/lovelace/cards/hui-media-control-card.ts b/src/panels/lovelace/cards/hui-media-control-card.ts index 4cd3e0f1058d..ffdfe2c34a2f 100644 --- a/src/panels/lovelace/cards/hui-media-control-card.ts +++ b/src/panels/lovelace/cards/hui-media-control-card.ts @@ -40,11 +40,7 @@ import { findEntities } from "../common/find-entities"; import { hasConfigOrEntityChanged } from "../common/has-changed"; import "../components/hui-marquee"; import { createEntityNotFoundWarning } from "../components/hui-warning"; -import type { - LovelaceCard, - LovelaceCardEditor, - LovelaceLayoutOptions, -} from "../types"; +import type { LovelaceCard, LovelaceCardEditor } from "../types"; import { MediaControlCardConfig } from "./types"; @customElement("hui-media-control-card") @@ -586,15 +582,6 @@ export class HuiMediaControlCard extends LitElement implements LovelaceCard { } } - public getLayoutOptions(): LovelaceLayoutOptions { - return { - grid_columns: 4, - grid_min_columns: 2, - grid_rows: 3, - grid_min_rows: 3, - }; - } - static get styles(): CSSResultGroup { return css` ha-card {