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 {