interface Cluster { attributes : Pick < Merge < { onOff : Attribute < boolean , any > ; } , GlobalAttributes < { deadFrontBehavior : BitFlag ; lighting : BitFlag ; offOnly : BitFlag ; } > > , | "clusterRevision" | "featureMap" | "attributeList" | "acceptedCommandList" | "generatedCommandList" | "onOff" > & Omit < unknown , "onOff" | ( keyof GlobalAttributes<{ readonly lighting: BitFlag; readonly deadFrontBehavior: BitFlag; readonly offOnly: BitFlag; }>
) > & Omit < Merge < { onOff : Attribute < boolean , any > ; } , GlobalAttributes < { deadFrontBehavior : BitFlag ; lighting : BitFlag ; offOnly : BitFlag ; } > > , "onOff" | ( keyof GlobalAttributes<{ readonly lighting: BitFlag; readonly deadFrontBehavior: BitFlag; readonly offOnly: BitFlag; }>
) > ; base : Of < { attributes : { onOff : Attribute < boolean , any > ; } ; 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 : FieldType < OnOff . EffectIdentifier > ; effectVariant : FieldType < number > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < number > ; onOffControl : FieldType < TypeFromPartialBitSchema < ( ...
) > > ; onTime : FieldType < number > ; } > , 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 ; } > ; commands : Pick < { off : Command < void , void , any > ; } , "off" > & Omit < { on : Command < void , void , any > ; toggle : Command < void , void , any > ; } , "off" > & Omit < { off : Command < void , void , any > ; } , "on" | "toggle" | "off" > ; events : Pick < {} , never > & Omit < unknown , never > & Omit < {} , never > ; 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 : FieldType < OnOff . EffectIdentifier > ; effectVariant : FieldType < number > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < number > ; onOffControl : FieldType < TypeFromPartialBitSchema < { acceptOnlyWhenOn : BitFlag ; } > > ; onTime : FieldType < number > ; } > , 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 : Branded < 6 , "ClusterId" > ; name : "OnOff" ; revision : 6 ; supportedFeatures : {} ; unknown : false ; alter < const AlterationsT > ( alterations : AlterationsT ) : WithAlterations < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...
) | ( ...
) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...
) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...
) > , 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 ; } > ; 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 : FieldType < ( ...
) > ; effectVariant : FieldType < ( ...
) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...
) > ; onOffControl : FieldType < ( ...
) > ; onTime : FieldType < ( ...
) > ; } > , 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 ; } > , AlterationsT > ; enable < const FlagsT > ( flags : FlagsT ) : WithFlags < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...
) | ( ...
) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...
) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...
) > , 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 ; } > ; 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 : FieldType < ( ...
) > ; effectVariant : FieldType < ( ...
) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...
) > ; onOffControl : FieldType < ( ...
) > ; onTime : FieldType < ( ...
) > ; } > , 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 ; } > , FlagsT > ; set < const ValuesT > ( values : ValuesT ) : WithValues < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...
) | ( ...
) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...
) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...
) > , 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 ; } > ; 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 : FieldType < ( ...
) > ; effectVariant : FieldType < ( ...
) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...
) > ; onOffControl : FieldType < ( ...
) > ; onTime : FieldType < ( ...
) > ; } > , 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 ; } > , ValuesT > ; with < const SelectionT > ( ... selection : SelectionT ) : 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...
) | ( ...
) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...
) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...
) > , 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 ; } > ; 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 : FieldType < ( ...
) > ; effectVariant : FieldType < ( ...
) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...
) > ; onOffControl : FieldType < ( ...
) > ; onTime : FieldType < ( ...
) > ; } > , 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 ; } > , SelectionT > ; } Defined in packages/types/dist/esm/clusters/on-off.d.ts:1122 Defined in packages/types/dist/esm/clusters/on-off.d.ts:1124 Propertiesattributes attributes : Pick < Merge < { onOff : Attribute < boolean , any > ; } , GlobalAttributes < { deadFrontBehavior : BitFlag ; lighting : BitFlag ; offOnly : BitFlag ; } > > , | "clusterRevision" | "featureMap" | "attributeList" | "acceptedCommandList" | "generatedCommandList" | "onOff" > & Omit < unknown , "onOff" | ( keyof GlobalAttributes<{ readonly lighting: BitFlag; readonly deadFrontBehavior: BitFlag; readonly offOnly: BitFlag; }>
) > & Omit < Merge < { onOff : Attribute < boolean , any > ; } , GlobalAttributes < { deadFrontBehavior : BitFlag ; lighting : BitFlag ; offOnly : BitFlag ; } > > , "onOff" | ( keyof GlobalAttributes<{ readonly lighting: BitFlag; readonly deadFrontBehavior: BitFlag; readonly offOnly: BitFlag; }>
) > base base : Of < { attributes : { onOff : Attribute < boolean , any > ; } ; 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 : FieldType < OnOff . EffectIdentifier > ; effectVariant : FieldType < number > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < number > ; onOffControl : FieldType < TypeFromPartialBitSchema < ( ...
) > > ; onTime : FieldType < number > ; } > , 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 ; } > Type declaration Readonly
attributes : { onOff : Attribute < boolean , any > ; } Readonly
commands : { off : Command < void , void , any > ; } Readonly
off : Command < void , void , any > Readonly
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 : FieldType < OnOff . EffectIdentifier > ; effectVariant : FieldType < number > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < number > ; onOffControl : FieldType < TypeFromPartialBitSchema < ( ...) > > ; onTime : FieldType < number > ; } > , 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 ; } ; } ] Readonly
features : { deadFrontBehavior : BitFlag ; lighting : BitFlag ; offOnly : BitFlag ; } Readonly
id : 6 Readonly
name : "OnOff" Readonly
revision : 6 commands commands : Pick < { off : Command < void , void , any > ; } , "off" > & Omit < { on : Command < void , void , any > ; toggle : Command < void , void , any > ; } , "off" > & Omit < { off : Command < void , void , any > ; } , "on" | "toggle" | "off" > events events : Pick < {} , never > & Omit < unknown , never > & Omit < {} , never >
extensions 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 : FieldType < OnOff . EffectIdentifier > ; effectVariant : FieldType < number > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < number > ; onOffControl : FieldType < TypeFromPartialBitSchema < { acceptOnlyWhenOn : BitFlag ; } > > ; onTime : FieldType < number > ; } > , 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 ; } ; } ] supported Features supported Features : {}
Methodsalter alter < const AlterationsT > ( alterations ) : WithAlterations < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...) | ( ...) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...) > , 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 ; } > ; 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 : FieldType < ( ...) > ; effectVariant : FieldType < ( ...) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...) > ; onOffControl : FieldType < ( ...) > ; onTime : FieldType < ( ...) > ; } > , 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 ; } > , AlterationsT > Type Parameters const AlterationsT extends Alterations < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...) | ( ...) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...) > , 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 ; } > ; 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 : FieldType < ( ...) > ; effectVariant : FieldType < ( ...) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...) > ; onOffControl : FieldType < ( ...) > ; onTime : FieldType < ( ...) > ; } > , 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 ; } > > Returns WithAlterations < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...) | ( ...) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...) > , 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 ; } > ; 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 : FieldType < ( ...) > ; effectVariant : FieldType < ( ...) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...) > ; onOffControl : FieldType < ( ...) > ; onTime : FieldType < ( ...) > ; } > , 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 ; } > , AlterationsT > enable enable < const FlagsT > ( flags ) : WithFlags < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...) | ( ...) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...) > , 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 ; } > ; 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 : FieldType < ( ...) > ; effectVariant : FieldType < ( ...) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...) > ; onOffControl : FieldType < ( ...) > ; onTime : FieldType < ( ...) > ; } > , 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 ; } > , FlagsT > Type Parameters const FlagsT extends ElementFlags < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...) | ( ...) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...) > , 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 ; } > ; 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 : FieldType < ( ...) > ; effectVariant : FieldType < ( ...) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...) > ; onOffControl : FieldType < ( ...) > ; onTime : FieldType < ( ...) > ; } > , 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 ; } > > Returns WithFlags < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...) | ( ...) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...) > , 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 ; } > ; 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 : FieldType < ( ...) > ; effectVariant : FieldType < ( ...) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...) > ; onOffControl : FieldType < ( ...) > ; onTime : FieldType < ( ...) > ; } > , 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 ; } > , FlagsT > set set < const ValuesT > ( values ) : WithValues < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...) | ( ...) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...) > , 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 ; } > ; 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 : FieldType < ( ...) > ; effectVariant : FieldType < ( ...) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...) > ; onOffControl : FieldType < ( ...) > ; onTime : FieldType < ( ...) > ; } > , 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 ; } > , ValuesT > Type Parameters const ValuesT extends { onOff : boolean ; } Returns WithValues < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...) | ( ...) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...) > , 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 ; } > ; 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 : FieldType < ( ...) > ; effectVariant : FieldType < ( ...) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...) > ; onOffControl : FieldType < ( ...) > ; onTime : FieldType < ( ...) > ; } > , 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 ; } > , ValuesT > with with < const SelectionT > ( ... selection ) : 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...) | ( ...) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...) > , 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 ; } > ; 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 : FieldType < ( ...) > ; effectVariant : FieldType < ( ...) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...) > ; onOffControl : FieldType < ( ...) > ; onTime : FieldType < ( ...) > ; } > , 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 ; } > , SelectionT > Type Parameters const SelectionT extends FeatureSelection < 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...) | ( ...) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...) > , 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 ; } > ; 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 : FieldType < ( ...) > ; effectVariant : FieldType < ( ...) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...) > ; onOffControl : FieldType < ( ...) > ; onTime : FieldType < ( ...) > ; } > , 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 ; } > > Returns 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 < boolean , any > ; offWaitTime : WritableAttribute < number , any > ; onTime : WritableAttribute < number , any > ; startUpOnOff : WritableAttribute < ( ...) | ( ...) , any > ; } ; commands : { offWithEffect : Command < TypeFromFields < ( ...) > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < ( ...) > , 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 ; } > ; 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 : FieldType < ( ...) > ; effectVariant : FieldType < ( ...) > ; } > , void , any > ; onWithRecallGlobalScene : Command < void , void , any > ; onWithTimedOff : Command < TypeFromFields < { offWaitTime : FieldType < ( ...) > ; onOffControl : FieldType < ( ...) > ; onTime : FieldType < ( ...) > ; } > , 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 ; } > , SelectionT >
Attributes and commands for turning devices on and off.
OnOffCluster supports optional features that you can enable with the OnOffCluster.with() factory method.
See
MatterSpecification.v13.Cluster § 1.5