Expand description
LevelControl cluster (0x0008).
@generated by cargo xtask codegen — do not edit.
Modules§
- attribute_
id - Attribute IDs (cluster-specific).
- command_
id - Command IDs (requests and responses).
Structs§
- Feature
LevelControlfeature bits (FeatureMap).- Options
Bitmap OptionsBitmap(map8).
Enums§
- Move
Mode Enum MoveModeEnum(enum8).- Step
Mode Enum StepModeEnum(enum8).
Constants§
- CLUSTER_
ID - Cluster ID.
- CLUSTER_
REVISION - Cluster revision.
Functions§
- decode_
current_ frequency - Decode the
CurrentFrequencyattribute value. - decode_
current_ level - Decode the
CurrentLevelattribute value. - decode_
default_ move_ rate - Decode the
DefaultMoveRateattribute value. - decode_
max_ frequency - Decode the
MaxFrequencyattribute value. - decode_
max_ level - Decode the
MaxLevelattribute value. - decode_
min_ frequency - Decode the
MinFrequencyattribute value. - decode_
min_ level - Decode the
MinLevelattribute value. - decode_
off_ transition_ time - Decode the
OffTransitionTimeattribute value. - decode_
on_ level - Decode the
OnLevelattribute value. - decode_
on_ off_ transition_ time - Decode the
OnOffTransitionTimeattribute value. - decode_
on_ transition_ time - Decode the
OnTransitionTimeattribute value. - decode_
options - Decode the
Optionsattribute value. - decode_
remaining_ time - Decode the
RemainingTimeattribute value. - decode_
start_ up_ current_ level - Decode the
StartUpCurrentLevelattribute value. - encode_
default_ move_ rate - Encode the
DefaultMoveRateattribute value as a standalone TLV element. - encode_
move - Encode the
Movecommand request payload. - encode_
move_ to_ closest_ frequency - Encode the
MoveToClosestFrequencycommand request payload. - encode_
move_ to_ level - Encode the
MoveToLevelcommand request payload. - encode_
move_ to_ level_ with_ on_ off - Encode the
MoveToLevelWithOnOffcommand request payload. - encode_
move_ with_ on_ off - Encode the
MoveWithOnOffcommand request payload. - encode_
off_ transition_ time - Encode the
OffTransitionTimeattribute value as a standalone TLV element. - encode_
on_ level - Encode the
OnLevelattribute value as a standalone TLV element. - encode_
on_ off_ transition_ time - Encode the
OnOffTransitionTimeattribute value as a standalone TLV element. - encode_
on_ transition_ time - Encode the
OnTransitionTimeattribute value as a standalone TLV element. - encode_
options - Encode the
Optionsattribute value as a standalone TLV element. - encode_
start_ up_ current_ level - Encode the
StartUpCurrentLevelattribute value as a standalone TLV element. - encode_
step - Encode the
Stepcommand request payload. - encode_
step_ with_ on_ off - Encode the
StepWithOnOffcommand request payload. - encode_
stop - Encode the
Stopcommand request payload. - encode_
stop_ with_ on_ off - Encode the
StopWithOnOffcommand request payload.