2021-03-29 12:48:27 +02:00
|
|
|
/* eslint-disable no-use-before-define */
|
|
|
|
|
|
2025-08-05 19:55:50 +02:00
|
|
|
import { OutputSettingColorTemperature } from "./ApiSite";
|
|
|
|
|
|
2021-03-29 12:48:27 +02:00
|
|
|
export type OutputDevices = { [deviceIdAndOutput: string]: OutputDevice };
|
|
|
|
|
|
|
|
|
|
export interface OutputDevice {
|
2021-03-31 20:04:45 +02:00
|
|
|
bleOutputAddress: number;
|
2025-08-05 19:55:50 +02:00
|
|
|
colorTemp: boolean;
|
|
|
|
|
colorTempSettings?: OutputSettingColorTemperature
|
2021-03-29 12:48:27 +02:00
|
|
|
deviceId: string;
|
|
|
|
|
dim?: number;
|
|
|
|
|
dimmable: boolean;
|
|
|
|
|
name: string;
|
|
|
|
|
output: number;
|
2021-05-11 21:03:48 +02:00
|
|
|
roomId: string | undefined;
|
|
|
|
|
roomName: string | undefined;
|
2021-03-31 20:04:45 +02:00
|
|
|
state: boolean | undefined;
|
2021-03-29 12:48:27 +02:00
|
|
|
type: string;
|
2022-10-16 14:40:15 +02:00
|
|
|
typeDescription: string;
|
2021-03-29 12:48:27 +02:00
|
|
|
typeName: string;
|
|
|
|
|
version: string;
|
|
|
|
|
uniqueId: string;
|
|
|
|
|
}
|
2021-05-01 19:41:29 +02:00
|
|
|
|
|
|
|
|
export type InputDevices = { [deviceIdAndOutput: string]: InputDevice };
|
|
|
|
|
|
|
|
|
|
export interface InputDevice {
|
2021-05-05 19:02:10 +02:00
|
|
|
bleInputAddress: number;
|
2021-05-01 19:41:29 +02:00
|
|
|
deviceId: string;
|
|
|
|
|
name: string;
|
|
|
|
|
input: number;
|
|
|
|
|
roomId: string;
|
|
|
|
|
type: string;
|
2022-10-16 14:40:15 +02:00
|
|
|
typeDescription: string;
|
2021-05-01 19:41:29 +02:00
|
|
|
typeName: string;
|
|
|
|
|
version: string;
|
|
|
|
|
uniqueId: string;
|
|
|
|
|
}
|