Remove CSS component from time entity row (#16416)

This commit is contained in:
Raman Gupta 2023-05-05 09:01:13 -04:00 committed by GitHub
parent 643556ded3
commit 59db31cdb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {