From 59db31cdb55f4b79e2ce3ab9a9fa1612500bcb86 Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Fri, 5 May 2023 09:01:13 -0400 Subject: [PATCH] Remove CSS component from time entity row (#16416) --- .../entity-rows/hui-time-entity-row.ts | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/panels/lovelace/entity-rows/hui-time-entity-row.ts b/src/panels/lovelace/entity-rows/hui-time-entity-row.ts index 1efee0fee9..f6fceb3829 100644 --- a/src/panels/lovelace/entity-rows/hui-time-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-time-entity-row.ts @@ -1,12 +1,4 @@ -import { - css, - CSSResultGroup, - html, - LitElement, - nothing, - PropertyValues, - TemplateResult, -} from "lit"; +import { html, LitElement, nothing, PropertyValues, TemplateResult } from "lit"; import { customElement, property, state } from "lit/decorators"; import "../../../components/ha-date-input"; import { isUnavailableState } from "../../../data/entity"; @@ -75,17 +67,6 @@ class HuiTimeEntityRow extends LitElement implements LovelaceRow { const stateObj = this.hass!.states[this._config!.entity]; setTimeValue(this.hass!, stateObj.entity_id, ev.detail.value); } - - static get styles(): CSSResultGroup { - return css` - ha-date-input + ha-time-input { - margin-left: 4px; - margin-inline-start: 4px; - margin-inline-end: initial; - direction: var(--direction); - } - `; - } } declare global {