zigbee-herdsman-zigate
Version:
An open source ZigBee gateway solution with node.js.
27 lines (21 loc) • 608 B
text/typescript
// eslint-disable-next-line
interface KeyValue {[s: string]: any};
type DeviceType = 'Coordinator' | 'Router' | 'EndDevice' | 'Unknown' | 'GreenPower';
type EntityType = DeviceType | 'Group';
interface DatabaseEntry {
id: number;
type: EntityType;
// eslint-disable-next-line
[s: string]: any;
}
enum GreenPowerEvents {
deviceJoined = "deviceJoined",
}
interface GreenPowerDeviceJoinedPayload {
sourceID: number;
deviceID: number;
networkAddress: number;
}
export {
KeyValue, DatabaseEntry, EntityType, DeviceType, GreenPowerEvents, GreenPowerDeviceJoinedPayload,
};