State Set

class st.zwave.CommandClass.Schedule.StateSet

Dynamically versioned SCHEDULE_STATE_SET

Supported versions: 1,2,3,4; unique base versions: 1,2

cmd_class: number

0x53

cmd_id: number

0x07

version: number

1,2

args: st.zwave.CommandClass.Schedule.StateSetV1Args or st.zwave.CommandClass.Schedule.StateSetV2Args
construct(module, args)

Construct a SCHEDULE_STATE_SET object at the module instance serialization version.

Parameters
  • module (st.zwave.CommandClass.Schedule) – command class module instance

  • args (st.zwave.CommandClass.Schedule.StateSetV1Args or st.zwave.CommandClass.Schedule.StateSetV2Args) – command-specific arguments

Return type

st.zwave.CommandClass.Schedule.StateSet

class st.zwave.CommandClass.Schedule.StateSetV1: st.zwave.Command

v1 SCHEDULE_STATE_SET

cmd_class: number

0x53

cmd_id: number

0x07

version: number

1

args: st.zwave.CommandClass.Schedule.StateSetV1Args

command-specific arguments

init(module, args)

Initialize a v1 SCHEDULE_STATE_SET object.

Parameters
serialize()

Serialize v1 SCHEDULE_STATE_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 SCHEDULE_STATE_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Schedule.StateSetV1Args

class st.zwave.CommandClass.Schedule.StateSetV1Args
schedule_id: integer

[0,255]

schedule_state: integer

[0,255]

class st.zwave.CommandClass.Schedule.StateSetV2: st.zwave.Command

v2 and forward-compatible v3,v4 SCHEDULE_STATE_SET

cmd_class: number

0x53

cmd_id: number

0x07

version: number

2

args: st.zwave.CommandClass.Schedule.StateSetV2Args

command-specific arguments

init(module, args)

Initialize a v2 and forward-compatible v3,v4 SCHEDULE_STATE_SET object.

Parameters
serialize()

Serialize v2 or forward-compatible v3,v4 SCHEDULE_STATE_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v2 or forward-compatible v3,v4 SCHEDULE_STATE_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.Schedule.StateSetV2Args

class st.zwave.CommandClass.Schedule.StateSetV2Args
schedule_id: integer

[0,255]

schedule_state: integer

[0,255]

schedule_id_block: integer

[0,255]