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§
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
Offcommand on clusterOn/Off. - off_
with_ effect - Invoke
OffWithEffectcommand on clusterOn/Off. - on
- Invoke
Oncommand on clusterOn/Off. - on_
with_ recall_ global_ scene - Invoke
OnWithRecallGlobalScenecommand on clusterOn/Off. - on_
with_ timed_ off - Invoke
OnWithTimedOffcommand on clusterOn/Off. - read_
global_ scene_ control - Read
GlobalSceneControlattribute from clusterOn/Off. - read_
off_ wait_ time - Read
OffWaitTimeattribute from clusterOn/Off. - read_
on_ off - Read
OnOffattribute from clusterOn/Off. - read_
on_ time - Read
OnTimeattribute from clusterOn/Off. - read_
start_ up_ on_ off - Read
StartUpOnOffattribute from clusterOn/Off. - toggle
- Invoke
Togglecommand on clusterOn/Off.
Type Aliases§
- OnOff
Control - OnOffControl bitmap type