Merge branch 'develop' into feature/id-refactor
This commit is contained in:
commit
792a9e9840
3 changed files with 122 additions and 63 deletions
25
plejd/types/Mqtt.d.ts
vendored
Normal file
25
plejd/types/Mqtt.d.ts
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* eslint-disable no-use-before-define */
|
||||
|
||||
export type TopicType = 'config' | 'state' | 'availability' | 'set';
|
||||
export type TOPIC_TYPES = { [key: string]: TopicType };
|
||||
|
||||
export type MqttType = 'light' | 'scene' | 'switch' | 'device_automation';
|
||||
export type MQTT_TYPES = { [key: string]: MqttType };
|
||||
|
||||
export interface OutputDevice {
|
||||
bleOutputAddress: number;
|
||||
deviceId: string;
|
||||
dim?: number;
|
||||
dimmable: boolean;
|
||||
hiddenFromRoomList?: boolean;
|
||||
hiddenFromIntegrations?: boolean;
|
||||
hiddenFromSceneList?: boolean;
|
||||
name: string;
|
||||
output: number;
|
||||
roomId: string;
|
||||
state: boolean | undefined;
|
||||
type: string;
|
||||
typeName: string;
|
||||
version: string;
|
||||
uniqueId: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue