mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 04:06:35 +00:00
parent
9792572370
commit
16ae52c321
@ -24,7 +24,7 @@ const UNKNOWN_AUTOMATION_KEY = "UNKNOWN_AUTOMATION";
|
|||||||
export abstract class HaDeviceAutomationPicker<
|
export abstract class HaDeviceAutomationPicker<
|
||||||
T extends DeviceAutomation
|
T extends DeviceAutomation
|
||||||
> extends LitElement {
|
> extends LitElement {
|
||||||
public hass!: HomeAssistant;
|
@property() public hass!: HomeAssistant;
|
||||||
@property() public label?: string;
|
@property() public label?: string;
|
||||||
@property() public deviceId?: string;
|
@property() public deviceId?: string;
|
||||||
@property() public value?: T;
|
@property() public value?: T;
|
||||||
|
@ -24,7 +24,7 @@ import { compare } from "../../common/string/compare";
|
|||||||
|
|
||||||
@customElement("ha-device-picker")
|
@customElement("ha-device-picker")
|
||||||
class HaDevicePicker extends LitElement {
|
class HaDevicePicker extends LitElement {
|
||||||
public hass?: HomeAssistant;
|
@property() public hass?: HomeAssistant;
|
||||||
@property() public label?: string;
|
@property() public label?: string;
|
||||||
@property() public value?: string;
|
@property() public value?: string;
|
||||||
@property() public devices?: DeviceRegistryEntry[];
|
@property() public devices?: DeviceRegistryEntry[];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user