Add select for relays
This commit is contained in:
@@ -12,8 +12,10 @@ export interface DailyMinRuntime {
|
||||
catch_up_hours: number[];
|
||||
}
|
||||
|
||||
export type RelayID = string;
|
||||
|
||||
export interface DeviceRelay {
|
||||
id: string;
|
||||
id: RelayID;
|
||||
name: string;
|
||||
enabled: boolean;
|
||||
priority: number;
|
||||
@@ -21,8 +23,8 @@ export interface DeviceRelay {
|
||||
minimal_uptime: number;
|
||||
minimal_downtime: number;
|
||||
daily_runtime?: DailyMinRuntime;
|
||||
depends_on: DeviceRelay[];
|
||||
conflicts_with: DeviceRelay[];
|
||||
depends_on: RelayID[];
|
||||
conflicts_with: RelayID[];
|
||||
}
|
||||
|
||||
export interface Device {
|
||||
|
||||
Reference in New Issue
Block a user