Set¶
- class st.zwave.CommandClass.SwitchToggleBinary.Set¶
Dynamically versioned SWITCH_TOGGLE_BINARY_SET
Supported versions: 1; unique base versions: 1
- cmd_class: number¶
0x28
- cmd_id: number¶
0x01
- version: number¶
1
- args: st.zwave.CommandClass.SwitchToggleBinary.SetV1Args¶
- construct(module, args)¶
Construct a SWITCH_TOGGLE_BINARY_SET object at the module instance serialization version.
- Parameters:
module (
st.zwave.CommandClass.SwitchToggleBinary) – command class module instanceargs (
st.zwave.CommandClass.SwitchToggleBinary.SetV1Args) – command-specific arguments
- Return type:
- class st.zwave.CommandClass.SwitchToggleBinary.SetV1: st.zwave.Command¶
v1 SWITCH_TOGGLE_BINARY_SET
- cmd_class: number¶
0x28
- cmd_id: number¶
0x01
- version: number¶
1
- args: st.zwave.CommandClass.SwitchToggleBinary.SetV1Args¶
command-specific arguments
- init(module, args)¶
Initialize a v1 SWITCH_TOGGLE_BINARY_SET object.
- Parameters:
module (
st.zwave.CommandClass.SwitchToggleBinary) – command class module instanceargs (
st.zwave.CommandClass.SwitchToggleBinary.SetV1Args) – command-specific arguments
- serialize()¶
Serialize v1 SWITCH_TOGGLE_BINARY_SET arguments.
- Returns:
serialized payload
- Return type:
str
- deserialize()¶
Deserialize a v1 SWITCH_TOGGLE_BINARY_SET payload.
- Returns:
deserialized arguments
- Return type:
- class st.zwave.CommandClass.SwitchToggleBinary.SetV1Args¶