struct Matter::Cluster::Definitions::OnOff::OffWithEffectRequest

Overview

Input to the OnOff offWithEffect command

Included Modules

Defined in:

matter/cluster/definitions/on_off.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8)) #

[View source]

Instance Method Detail

def effect_identifier : EffectIdentifier #

The EffectIdentifier field specifies the fading effect to use when turning the device off. This field shall contain one of the non-reserved values listed in Values of the EffectIdentifier Field of the OffWithEffect Command.


[View source]
def effect_identifier=(effect_identifier : EffectIdentifier) #

The EffectIdentifier field specifies the fading effect to use when turning the device off. This field shall contain one of the non-reserved values listed in Values of the EffectIdentifier Field of the OffWithEffect Command.


[View source]
def effect_variant : UInt8 #

The EffectVariant field is used to indicate which variant of the effect, indicated in the EffectIdentifier field, SHOULD be triggered. If the server does not support the given variant, it shall use the default variant. This field is dependent on the value of the EffectIdentifier field and shall contain one of the non-reserved values listed in Values of the EffectVariant Field of the OffWithEffect Command.


[View source]
def effect_variant=(effect_variant : UInt8) #

The EffectVariant field is used to indicate which variant of the effect, indicated in the EffectIdentifier field, SHOULD be triggered. If the server does not support the given variant, it shall use the default variant. This field is dependent on the value of the EffectIdentifier field and shall contain one of the non-reserved values listed in Values of the EffectVariant Field of the OffWithEffect Command.


[View source]