Set
- class st.zwave.CommandClass.SwitchMultilevel.Set
Dynamically versioned SWITCH_MULTILEVEL_SET
Supported versions: 1,2,3,4; unique base versions: 1,2
- cmd_class: number
0x26
- cmd_id: number
0x01
- version: number
1,2
- args: st.zwave.CommandClass.SwitchMultilevel.SetV1Args or st.zwave.CommandClass.SwitchMultilevel.SetV2Args
- construct(module, args)
Construct a SWITCH_MULTILEVEL_SET object at the module instance serialization version.
- Parameters
module (
st.zwave.CommandClass.SwitchMultilevel
) – command class module instanceargs (
st.zwave.CommandClass.SwitchMultilevel.SetV1Args or st.zwave.CommandClass.SwitchMultilevel.SetV2Args
) – command-specific arguments
- Return type
- class st.zwave.CommandClass.SwitchMultilevel.SetV1: st.zwave.Command
v1 SWITCH_MULTILEVEL_SET
- cmd_class: number
0x26
- cmd_id: number
0x01
- version: number
1
- args: st.zwave.CommandClass.SwitchMultilevel.SetV1Args
command-specific arguments
- init(module, args)
Initialize a v1 SWITCH_MULTILEVEL_SET object.
- Parameters
module (
st.zwave.CommandClass.SwitchMultilevel
) – command class module instanceargs (
st.zwave.CommandClass.SwitchMultilevel.SetV1Args
) – command-specific arguments
- serialize()
Serialize v1 SWITCH_MULTILEVEL_SET arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v1 SWITCH_MULTILEVEL_SET payload.
- Returns
deserialized arguments
- Return type
- class st.zwave.CommandClass.SwitchMultilevel.SetV2: st.zwave.Command
v2 and forward-compatible v3,v4 SWITCH_MULTILEVEL_SET
- cmd_class: number
0x26
- cmd_id: number
0x01
- version: number
2
- args: st.zwave.CommandClass.SwitchMultilevel.SetV2Args
command-specific arguments
- init(module, args)
Initialize a v2 and forward-compatible v3,v4 SWITCH_MULTILEVEL_SET object.
- Parameters
module (
st.zwave.CommandClass.SwitchMultilevel
) – command class module instanceargs (
st.zwave.CommandClass.SwitchMultilevel.SetV2Args
) – command-specific arguments
- serialize()
Serialize v2 or forward-compatible v3,v4 SWITCH_MULTILEVEL_SET arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v2 or forward-compatible v3,v4 SWITCH_MULTILEVEL_SET payload.
- Returns
deserialized arguments
- Return type