Module closure_control

Module closure_control 

Source
Expand description

Matter TLV encoders and decoders for Closure Control Cluster Cluster ID: 0x0104

This file is automatically generated from ClosureControl.xml

Modules§

latchcontrolmodes
Constants for LatchControlModes

Structs§

EngageStateChangedEvent
OperationalErrorEvent
OverallCurrentState
OverallTargetState
SecureStateChangedEvent

Enums§

ClosureError
CurrentPosition
MainState
TargetPosition

Functions§

decode_attribute_json
Decode attribute value and return as JSON string
decode_countdown_time
Decode CountdownTime attribute (0x0000)
decode_current_error_list
Decode CurrentErrorList attribute (0x0002)
decode_engage_state_changed_event
Decode EngageStateChanged event (0x02, priority: info)
decode_latch_control_modes
Decode LatchControlModes attribute (0x0005)
decode_main_state
Decode MainState attribute (0x0001)
decode_operational_error_event
Decode OperationalError event (0x00, priority: critical)
decode_overall_current_state
Decode OverallCurrentState attribute (0x0003)
decode_overall_target_state
Decode OverallTargetState attribute (0x0004)
decode_secure_state_changed_event
Decode SecureStateChanged event (0x03, priority: info)
encode_move_to
Encode MoveTo command (0x01)
get_attribute_list
Get list of all attributes supported by this cluster

Type Aliases§

LatchControlModes
LatchControlModes bitmap type