enum
Matter::Cluster::Definitions::OnOff::StartUp
Defined in:
matter/cluster/definitions/on_off.crEnum Members
-
Off =
0_u8 -
Set the OnOff attribute to FALSE
-
On =
1_u8 -
Set the OnOff attribute to TRUE
-
Toggle =
2_u8 -
If the previous value of the OnOff attribute is equal to FALSE, set the OnOff attribute to TRUE. If the previous value of the OnOff attribute is equal to TRUE, set the OnOff attribute to FALSE (toggle).
Instance Method Summary
-
#off?
Returns
trueif this enum value equalsOff -
#on?
Returns
trueif this enum value equalsOn -
#toggle?
Returns
trueif this enum value equalsToggle