mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
Update typescript, prettier, tslint -> eslint (#5536)
* Update typescript, prettier, tslint -> eslint * Organize imports * Use glob for eslint fix react import
This commit is contained in:
@@ -1,29 +1,26 @@
|
||||
import {
|
||||
customElement,
|
||||
html,
|
||||
LitElement,
|
||||
TemplateResult,
|
||||
property,
|
||||
PropertyValues,
|
||||
customElement,
|
||||
TemplateResult,
|
||||
} from "lit-element";
|
||||
|
||||
import "../components/hui-generic-entity-row";
|
||||
import "../../../components/paper-time-input.js";
|
||||
// tslint:disable-next-line:no-duplicate-imports
|
||||
import { PaperTimeInput } from "../../../components/paper-time-input.js";
|
||||
import "../../../components/ha-date-input";
|
||||
// tslint:disable-next-line:no-duplicate-imports
|
||||
import { HaDateInput } from "../../../components/ha-date-input";
|
||||
|
||||
import { HomeAssistant } from "../../../types";
|
||||
import { LovelaceRow, EntityConfig } from "./types";
|
||||
import { setInputDateTimeValue } from "../../../data/input_datetime";
|
||||
import { hasConfigOrEntityChanged } from "../common/has-changed";
|
||||
import type { HaDateInput } from "../../../components/ha-date-input";
|
||||
import "../../../components/paper-time-input";
|
||||
import type { PaperTimeInput } from "../../../components/paper-time-input";
|
||||
import { UNAVAILABLE_STATES } from "../../../data/entity";
|
||||
import { setInputDateTimeValue } from "../../../data/input_datetime";
|
||||
import type { HomeAssistant } from "../../../types";
|
||||
import { hasConfigOrEntityChanged } from "../common/has-changed";
|
||||
import "../components/hui-generic-entity-row";
|
||||
import type { EntityConfig, LovelaceRow } from "./types";
|
||||
|
||||
@customElement("hui-input-datetime-entity-row")
|
||||
class HuiInputDatetimeEntityRow extends LitElement implements LovelaceRow {
|
||||
@property() public hass?: HomeAssistant;
|
||||
|
||||
@property() private _config?: EntityConfig;
|
||||
|
||||
public setConfig(config: EntityConfig): void {
|
||||
|
||||
Reference in New Issue
Block a user