enum Matter::Cluster::Definitions::Identify::EffectIdentifier

Defined in:

matter/cluster/definitions/identify.cr

Enum Members

Blink = 0_u8

e.g., Light is turned on/off once.

Breathe = 1_u8

e.g., Light is turned on/off over 1 second and repeated 15 times.

Okay = 2_u8

e.g., Colored light turns green for 1 second; non-colored light flashes twice.

ChannelChange = 11_u8

e.g., Colored light turns orange for 8 seconds; non-colored light switches to the maximum brightness for 0.5s and then minimum brightness for 7.5s.

FinishEffect = 254_u8

Complete the current effect sequence before terminating. e.g., if in the middle of a breathe effect (as above), first complete the current 1s breathe effect and then terminate the effect.

StopEffect = 255_u8

Terminate the effect as soon as possible.

Instance Method Summary

Instance Method Detail

def blink? #

Returns true if this enum value equals Blink


[View source]
def breathe? #

Returns true if this enum value equals Breathe


[View source]
def channel_change? #

Returns true if this enum value equals ChannelChange


[View source]
def finish_effect? #

Returns true if this enum value equals FinishEffect


[View source]
def okay? #

Returns true if this enum value equals Okay


[View source]
def stop_effect? #

Returns true if this enum value equals StopEffect


[View source]