Add compatibility for Lit 2.0 (#8878)

This commit is contained in:
Bram Kragten
2021-05-07 22:16:14 +02:00
committed by GitHub
parent 0f58214ba1
commit 9f032a61a9
521 changed files with 2512 additions and 2510 deletions

View File

@@ -1,10 +1,4 @@
import {
customElement,
html,
internalProperty,
LitElement,
property,
} from "lit-element";
import { customElement, html, state, LitElement, property } from "lit-element";
import { ConfigEntry, getConfigEntries } from "../../data/config_entries";
import { DeviceRegistryEntry } from "../../data/device_registry";
import { DeviceSelector } from "../../data/selector";
@@ -21,7 +15,7 @@ export class HaDeviceSelector extends LitElement {
@property() public label?: string;
@internalProperty() public _configEntries?: ConfigEntry[];
@state() public _configEntries?: ConfigEntry[];
@property({ type: Boolean }) public disabled = false;