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

@@ -1,18 +1,16 @@
import {
css,
CSSResultGroup,
customElement,
html,
state,
LitElement,
property,
PropertyValues,
TemplateResult,
} from "lit-element";
} from "lit";
import { customElement, property, state } from "lit/decorators";
import { isComponentLoaded } from "../common/config/is_component_loaded";
import { fireEvent } from "../common/dom/fire_event";
import { computeStateName } from "../common/entity/compute_state_name";
import { supportsFeature } from "../common/entity/supports-feature";
import { isComponentLoaded } from "../common/config/is_component_loaded";
import {
CameraEntity,
CAMERA_SUPPORT_STREAM,