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