Module valve_configuration_control

Module valve_configuration_control 

Source
Expand description

Matter TLV encoders and decoders for Valve Configuration and Control Cluster Cluster ID: 0x0081

This file is automatically generated from ValveConfigurationControl.xml

Modules§

valvefault
Constants for ValveFault

Structs§

ValveFaultEvent
ValveStateChangedEvent

Enums§

StatusCode
ValveState

Functions§

decode_attribute_json
Decode attribute value and return as JSON string
decode_auto_close_time
Decode AutoCloseTime attribute (0x0002)
decode_current_level
Decode CurrentLevel attribute (0x0006)
decode_current_state
Decode CurrentState attribute (0x0004)
decode_default_open_duration
Decode DefaultOpenDuration attribute (0x0001)
decode_default_open_level
Decode DefaultOpenLevel attribute (0x0008)
decode_level_step
Decode LevelStep attribute (0x000A)
decode_open_duration
Decode OpenDuration attribute (0x0000)
decode_remaining_duration
Decode RemainingDuration attribute (0x0003)
decode_target_level
Decode TargetLevel attribute (0x0007)
decode_target_state
Decode TargetState attribute (0x0005)
decode_valve_fault
Decode ValveFault attribute (0x0009)
decode_valve_fault_event
Decode ValveFault event (0x01, priority: info)
decode_valve_state_changed_event
Decode ValveStateChanged event (0x00, priority: info)
encode_open
Encode Open command (0x00)
get_attribute_list
Get list of all attributes supported by this cluster

Type Aliases§

ValveFault
ValveFault bitmap type