Module level_control

Source
Expand description

Generated Matter TLV encoders and decoders for Level Control Cluster Cluster ID: 0x0008

This file is automatically generated from LevelControl.xml

Functionsยง

decode_attribute_json
Decode attribute value and return as JSON string
decode_current_frequency
Decode CurrentFrequency attribute (0x0004)
decode_current_level
Decode CurrentLevel attribute (0x0000)
decode_default_move_rate
Decode DefaultMoveRate attribute (0x0014)
decode_max_frequency
Decode MaxFrequency attribute (0x0006)
decode_max_level
Decode MaxLevel attribute (0x0003)
decode_min_frequency
Decode MinFrequency attribute (0x0005)
decode_min_level
Decode MinLevel attribute (0x0002)
decode_off_transition_time
Decode OffTransitionTime attribute (0x0013)
decode_on_level
Decode OnLevel attribute (0x0011)
decode_on_off_transition_time
Decode OnOffTransitionTime attribute (0x0010)
decode_on_transition_time
Decode OnTransitionTime attribute (0x0012)
decode_options
Decode Options attribute (0x000F)
decode_remaining_time
Decode RemainingTime attribute (0x0001)
decode_start_up_current_level
Decode StartUpCurrentLevel attribute (0x4000)
encode_move_
Encode Move command (0x01)
encode_move_to_closest_frequency
Encode MoveToClosestFrequency command (0x08)
encode_move_to_level
Encode MoveToLevel command (0x00)
encode_move_to_level_with_on_off
Encode MoveToLevelWithOnOff command (0x04)
encode_move_with_on_off
Encode MoveWithOnOff command (0x05)
encode_step
Encode Step command (0x02)
encode_step_with_on_off
Encode StepWithOnOff command (0x06)
encode_stop
Encode Stop command (0x03)
encode_stop_with_on_off
Encode StopWithOnOff command (0x07)
get_attribute_list
Get list of all attributes supported by this cluster