Module on_off

Module on_off 

Source
Expand description

Matter TLV encoders and decoders for On/Off Cluster Cluster ID: 0x0006

This file is automatically generated from OnOff.xml

Modules§

onoffcontrol
Constants for OnOffControl

Enums§

DelayedAllOffEffectVariant
DyingLightEffectVariant
EffectIdentifier
StartUpOnOff

Functions§

decode_attribute_json
Decode attribute value and return as JSON string
decode_global_scene_control
Decode GlobalSceneControl attribute (0x4000)
decode_off_wait_time
Decode OffWaitTime attribute (0x4002)
decode_on_off
Decode OnOff attribute (0x0000)
decode_on_time
Decode OnTime attribute (0x4001)
decode_start_up_on_off
Decode StartUpOnOff attribute (0x4003)
encode_command_json
encode_off_with_effect
Encode OffWithEffect command (0x40)
encode_on_with_timed_off
Encode OnWithTimedOff command (0x42)
get_attribute_list
Get list of all attributes supported by this cluster
get_command_list
get_command_name
get_command_schema
off
Invoke Off command on cluster On/Off.
off_with_effect
Invoke OffWithEffect command on cluster On/Off.
on
Invoke On command on cluster On/Off.
on_with_recall_global_scene
Invoke OnWithRecallGlobalScene command on cluster On/Off.
on_with_timed_off
Invoke OnWithTimedOff command on cluster On/Off.
read_global_scene_control
Read GlobalSceneControl attribute from cluster On/Off.
read_off_wait_time
Read OffWaitTime attribute from cluster On/Off.
read_on_off
Read OnOff attribute from cluster On/Off.
read_on_time
Read OnTime attribute from cluster On/Off.
read_start_up_on_off
Read StartUpOnOff attribute from cluster On/Off.
toggle
Invoke Toggle command on cluster On/Off.

Type Aliases§

OnOffControl
OnOffControl bitmap type