struct

Matter::Cluster::Definitions::LevelControl::MoveToLevelRequest

Inherits TLV::Serializable < Struct < Value < Object

Input to the LevelControl moveToLevel command

Constructors

new(level : UInt8, transition_time : UInt16 | Nil, mask : UInt8, override : UInt8)
Source
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

level
Source
level=(level : UInt8)
Source
mask
Source
mask=(mask : UInt8)
Source
override
Source
override=(override : UInt8)
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
transition_time
Source
transition_time=(transition_time : UInt16 | Nil)
Source