Upgrade to Lit 2 (#9199)

This commit is contained in:
Bram Kragten
2021-05-18 16:37:53 +02:00
committed by GitHub
parent 245bb639f2
commit bc92c0b052
691 changed files with 2328 additions and 5179 deletions

View File

@@ -4,15 +4,12 @@ import { UnsubscribeFunc } from "home-assistant-js-websocket";
import {
css,
CSSResultGroup,
customElement,
html,
state,
LitElement,
property,
PropertyValues,
query,
TemplateResult,
} from "lit-element";
} from "lit";
import { customElement, property, state, query } from "lit/decorators";
import memoizeOne from "memoize-one";
import { fireEvent } from "../../common/dom/fire_event";
import { computeDomain } from "../../common/entity/compute_domain";
@@ -34,8 +31,8 @@ import {
import { SubscribeMixin } from "../../mixins/subscribe-mixin";
import { PolymerChangedEvent } from "../../polymer-types";
import { HomeAssistant } from "../../types";
import type { HaComboBox } from "../ha-combo-box";
import "../ha-combo-box";
import type { HaComboBox } from "../ha-combo-box";
interface Device {
name: string;