Function OnOffClusterDefaultHandler
- OnOffClusterDefaultHandler(): ClusterServerHandlers<Of<Of<{
attributes: {
onOff: Attribute<boolean, any>;
};
base: Of<{
attributes: {
onOff: Attribute<boolean, any>;
};
commands: {
off: Command<void, void, any>;
};
extensions: readonly [{
component: {
attributes: {
globalSceneControl: Attribute<(...), (...)>;
offWaitTime: WritableAttribute<(...), (...)>;
onTime: WritableAttribute<(...), (...)>;
startUpOnOff: WritableAttribute<(...), (...)>;
};
commands: {
offWithEffect: Command<(...), (...), (...)>;
onWithRecallGlobalScene: Command<(...), (...), (...)>;
onWithTimedOff: Command<(...), (...), (...)>;
};
};
flags: {
lighting: true;
};
}, {
component: {
commands: {
on: Command<(...), (...), (...)>;
toggle: Command<(...), (...), (...)>;
};
};
flags: {
offOnly: false;
};
}, {
component: false;
flags: {
lighting: true;
offOnly: true;
};
}, {
component: false;
flags: {
deadFrontBehavior: true;
offOnly: true;
};
}, {
component: false;
flags: {
deadFrontBehavior: true;
lighting: false;
offOnly: true;
};
}];
features: {
deadFrontBehavior: BitFlag;
lighting: BitFlag;
offOnly: BitFlag;
};
id: 6;
name: "OnOff";
revision: 6;
}>;
commands: {
off: Command<void, void, any>;
};
extensions: readonly [{
component: {
attributes: {
globalSceneControl: Attribute<boolean, any>;
offWaitTime: WritableAttribute<number, any>;
onTime: WritableAttribute<number, any>;
startUpOnOff: WritableAttribute<null | OnOff.StartUpOnOff, any>;
};
commands: {
offWithEffect: Command<TypeFromFields<{
effectIdentifier: ...;
effectVariant: ...;
}>, void, any>;
onWithRecallGlobalScene: Command<void, void, any>;
onWithTimedOff: Command<TypeFromFields<{
offWaitTime: ...;
onOffControl: ...;
onTime: ...;
}>, void, any>;
};
};
flags: {
lighting: true;
};
}, {
component: {
commands: {
on: Command<void, void, any>;
toggle: Command<void, void, any>;
};
};
flags: {
offOnly: false;
};
}, {
component: false;
flags: {
lighting: true;
offOnly: true;
};
}, {
component: false;
flags: {
deadFrontBehavior: true;
offOnly: true;
};
}, {
component: false;
flags: {
deadFrontBehavior: true;
lighting: false;
offOnly: true;
};
}];
features: {
deadFrontBehavior: BitFlag;
lighting: BitFlag;
offOnly: BitFlag;
};
id: 6;
name: "OnOff";
revision: 6;
}>, readonly ["Lighting"]>> Returns ClusterServerHandlers<Of<Of<{
attributes: {
onOff: Attribute<boolean, any>;
};
base: Of<{
attributes: {
onOff: Attribute<boolean, any>;
};
commands: {
off: Command<void, void, any>;
};
extensions: readonly [{
component: {
attributes: {
globalSceneControl: Attribute<(...), (...)>;
offWaitTime: WritableAttribute<(...), (...)>;
onTime: WritableAttribute<(...), (...)>;
startUpOnOff: WritableAttribute<(...), (...)>;
};
commands: {
offWithEffect: Command<(...), (...), (...)>;
onWithRecallGlobalScene: Command<(...), (...), (...)>;
onWithTimedOff: Command<(...), (...), (...)>;
};
};
flags: {
lighting: true;
};
}, {
component: {
commands: {
on: Command<(...), (...), (...)>;
toggle: Command<(...), (...), (...)>;
};
};
flags: {
offOnly: false;
};
}, {
component: false;
flags: {
lighting: true;
offOnly: true;
};
}, {
component: false;
flags: {
deadFrontBehavior: true;
offOnly: true;
};
}, {
component: false;
flags: {
deadFrontBehavior: true;
lighting: false;
offOnly: true;
};
}];
features: {
deadFrontBehavior: BitFlag;
lighting: BitFlag;
offOnly: BitFlag;
};
id: 6;
name: "OnOff";
revision: 6;
}>;
commands: {
off: Command<void, void, any>;
};
extensions: readonly [{
component: {
attributes: {
globalSceneControl: Attribute<boolean, any>;
offWaitTime: WritableAttribute<number, any>;
onTime: WritableAttribute<number, any>;
startUpOnOff: WritableAttribute<null | OnOff.StartUpOnOff, any>;
};
commands: {
offWithEffect: Command<TypeFromFields<{
effectIdentifier: ...;
effectVariant: ...;
}>, void, any>;
onWithRecallGlobalScene: Command<void, void, any>;
onWithTimedOff: Command<TypeFromFields<{
offWaitTime: ...;
onOffControl: ...;
onTime: ...;
}>, void, any>;
};
};
flags: {
lighting: true;
};
}, {
component: {
commands: {
on: Command<void, void, any>;
toggle: Command<void, void, any>;
};
};
flags: {
offOnly: false;
};
}, {
component: false;
flags: {
lighting: true;
offOnly: true;
};
}, {
component: false;
flags: {
deadFrontBehavior: true;
offOnly: true;
};
}, {
component: false;
flags: {
deadFrontBehavior: true;
lighting: false;
offOnly: true;
};
}];
features: {
deadFrontBehavior: BitFlag;
lighting: BitFlag;
offOnly: BitFlag;
};
id: 6;
name: "OnOff";
revision: 6;
}>, readonly ["Lighting"]>>