Set
- class st.zwave.CommandClass.Antitheft.Set
Dynamically versioned ANTITHEFT_SET
Supported versions: 1,2,3; unique base versions: 1,3
- cmd_class: number
0x5D
- cmd_id: number
0x01
- version: number
1,3
- args: st.zwave.CommandClass.Antitheft.SetV1Args or st.zwave.CommandClass.Antitheft.SetV3Args
- construct(module, args)
Construct an ANTITHEFT_SET object at the module instance serialization version.
- Parameters
module (
st.zwave.CommandClass.Antitheft
) – command class module instanceargs (
st.zwave.CommandClass.Antitheft.SetV1Args or st.zwave.CommandClass.Antitheft.SetV3Args
) – command-specific arguments
- Return type
- class st.zwave.CommandClass.Antitheft.SetV1: st.zwave.Command
v1 and forward-compatible v2 ANTITHEFT_SET
- cmd_class: number
0x5D
- cmd_id: number
0x01
- version: number
1
- args: st.zwave.CommandClass.Antitheft.SetV1Args
command-specific arguments
- init(module, args)
Initialize a v1 and forward-compatible v2 ANTITHEFT_SET object.
- Parameters
module (
st.zwave.CommandClass.Antitheft
) – command class module instanceargs (
st.zwave.CommandClass.Antitheft.SetV1Args
) – command-specific arguments
- serialize()
Serialize v1 or forward-compatible v2 ANTITHEFT_SET arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v1 or forward-compatible v2 ANTITHEFT_SET payload.
- Returns
deserialized arguments
- Return type
- class st.zwave.CommandClass.Antitheft.SetV1Args
- enable: boolean
- magic_code: str
- manufacturer_id: integer
[0,65535]
- anti_theft_hint_byte: str
- class st.zwave.CommandClass.Antitheft.SetV3: st.zwave.Command
v3 ANTITHEFT_SET
- cmd_class: number
0x5D
- cmd_id: number
0x01
- version: number
3
- args: st.zwave.CommandClass.Antitheft.SetV3Args
command-specific arguments
- init(module, args)
Initialize a v3 ANTITHEFT_SET object.
- Parameters
module (
st.zwave.CommandClass.Antitheft
) – command class module instanceargs (
st.zwave.CommandClass.Antitheft.SetV3Args
) – command-specific arguments
- serialize()
Serialize v3 ANTITHEFT_SET arguments.
- Returns
serialized payload
- Return type
str
- deserialize()
Deserialize a v3 ANTITHEFT_SET payload.
- Returns
deserialized arguments
- Return type