⚠️ Internal: This API is not publically exported by the package.
interface Cluster {
    ID: number;
    attributes: {
        [s: string]: Attribute;
    };
    commands: {
        [s: string]: Command;
    };
    commandsResponse: {
        [s: string]: Command;
    };
    getAttribute: ((key) => Attribute);
    getCommand: ((key) => Command);
    getCommandResponse: ((key) => Command);
    hasAttribute: ((key) => boolean);
    manufacturerCode?: number;
    name: string;
}

Properties

ID: number
attributes: {
    [s: string]: Attribute;
}

Type declaration

commands: {
    [s: string]: Command;
}

Type declaration

commandsResponse: {
    [s: string]: Command;
}

Type declaration

getAttribute: ((key) => Attribute)

Type declaration

getCommand: ((key) => Command)

Type declaration

getCommandResponse: ((key) => Command)

Type declaration

hasAttribute: ((key) => boolean)

Type declaration

    • (key): boolean
    • Parameters

      • key: string | number

      Returns boolean

manufacturerCode?: number
name: string