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 instance

  • args (st.zwave.CommandClass.Protection.SetV1Args or st.zwave.CommandClass.Protection.SetV2Args) – command-specific arguments

Return type

st.zwave.CommandClass.Protection.Set

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
serialize()

Serialize v1 PROTECTION_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 PROTECTION_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Protection.SetV1Args

class st.zwave.CommandClass.Protection.SetV1Args
protection_state: integer

see Protection.protection_state

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
serialize()

Serialize v2 PROTECTION_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v2 PROTECTION_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Protection.SetV2Args

class st.zwave.CommandClass.Protection.SetV2Args
local_protection_state: integer

[0,15]

rf_protection_state: integer

[0,15]