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§

close
Invoke Close command on cluster Valve Configuration and Control.
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_command_json
encode_open
Encode Open command (0x00)
get_attribute_list
Get list of all attributes supported by this cluster
get_command_list
get_command_name
get_command_schema
open
Invoke Open command on cluster Valve Configuration and Control.
read_auto_close_time
Read AutoCloseTime attribute from cluster Valve Configuration and Control.
read_current_level
Read CurrentLevel attribute from cluster Valve Configuration and Control.
read_current_state
Read CurrentState attribute from cluster Valve Configuration and Control.
read_default_open_duration
Read DefaultOpenDuration attribute from cluster Valve Configuration and Control.
read_default_open_level
Read DefaultOpenLevel attribute from cluster Valve Configuration and Control.
read_level_step
Read LevelStep attribute from cluster Valve Configuration and Control.
read_open_duration
Read OpenDuration attribute from cluster Valve Configuration and Control.
read_remaining_duration
Read RemainingDuration attribute from cluster Valve Configuration and Control.
read_target_level
Read TargetLevel attribute from cluster Valve Configuration and Control.
read_target_state
Read TargetState attribute from cluster Valve Configuration and Control.
read_valve_fault
Read ValveFault attribute from cluster Valve Configuration and Control.

Type Aliases§

ValveFault
ValveFault bitmap type