Fix regression in device automation from #3643 (#3717)

This commit is contained in:
Erik Montnemery 2019-09-14 21:02:43 +08:00 committed by Paulus Schoutsen
parent 9792572370
commit 16ae52c321
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ const UNKNOWN_AUTOMATION_KEY = "UNKNOWN_AUTOMATION";
export abstract class HaDeviceAutomationPicker<
T extends DeviceAutomation
> extends LitElement {
public hass!: HomeAssistant;
@property() public hass!: HomeAssistant;
@property() public label?: string;
@property() public deviceId?: string;
@property() public value?: T;

View File

@ -24,7 +24,7 @@ import { compare } from "../../common/string/compare";
@customElement("ha-device-picker")
class HaDevicePicker extends LitElement {
public hass?: HomeAssistant;
@property() public hass?: HomeAssistant;
@property() public label?: string;
@property() public value?: string;
@property() public devices?: DeviceRegistryEntry[];