struct

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

Inherits TLV::Serializable < Struct < Value < Object

Input to the OnOff offWithEffect command

Constructors

new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

effect_identifier

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.

Source
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.

Source
effect_variant

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.

Source
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.

Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source