enum

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

Inherits Enum < Comparable < Value < Object

Constants

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 methods

breathe?

Returns true if this enum value equals Breathe

Source
channel_change?

Returns true if this enum value equals ChannelChange

Source
finish_effect?

Returns true if this enum value equals FinishEffect

Source
okay?

Returns true if this enum value equals Okay

Source
stop_effect?

Returns true if this enum value equals StopEffect

Source