Start Level Change

class st.zwave.CommandClass.SwitchColor.StartLevelChange

Dynamically versioned SWITCH_COLOR_START_LEVEL_CHANGE

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

cmd_class: number

0x33

cmd_id: number

0x06

version: number

1,3

args: st.zwave.CommandClass.SwitchColor.StartLevelChangeV1Args or st.zwave.CommandClass.SwitchColor.StartLevelChangeV3Args
construct(module, args)

Construct a SWITCH_COLOR_START_LEVEL_CHANGE object at the module instance serialization version.

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

  • args (st.zwave.CommandClass.SwitchColor.StartLevelChangeV1Args or st.zwave.CommandClass.SwitchColor.StartLevelChangeV3Args) – command-specific arguments

Return type

st.zwave.CommandClass.SwitchColor.StartLevelChange

class st.zwave.CommandClass.SwitchColor.StartLevelChangeV1: st.zwave.Command

v1 and forward-compatible v2 SWITCH_COLOR_START_LEVEL_CHANGE

cmd_class: number

0x33

cmd_id: number

0x06

version: number

1

args: st.zwave.CommandClass.SwitchColor.StartLevelChangeV1Args

command-specific arguments

init(module, args)

Initialize a v1 and forward-compatible v2 SWITCH_COLOR_START_LEVEL_CHANGE object.

Parameters
serialize()

Serialize v1 or forward-compatible v2 SWITCH_COLOR_START_LEVEL_CHANGE arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 or forward-compatible v2 SWITCH_COLOR_START_LEVEL_CHANGE payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.SwitchColor.StartLevelChangeV1Args

class st.zwave.CommandClass.SwitchColor.StartLevelChangeV1Args
ignore_start_state: boolean
up_down: boolean
color_component_id: integer

see SwitchColor.color_component_id

start_level: integer

[0,255]

class st.zwave.CommandClass.SwitchColor.StartLevelChangeV3: st.zwave.Command

v3 SWITCH_COLOR_START_LEVEL_CHANGE

cmd_class: number

0x33

cmd_id: number

0x06

version: number

3

args: st.zwave.CommandClass.SwitchColor.StartLevelChangeV3Args

command-specific arguments

init(module, args)

Initialize a v3 SWITCH_COLOR_START_LEVEL_CHANGE object.

Parameters
serialize()

Serialize v3 SWITCH_COLOR_START_LEVEL_CHANGE arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v3 SWITCH_COLOR_START_LEVEL_CHANGE payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.SwitchColor.StartLevelChangeV3Args

class st.zwave.CommandClass.SwitchColor.StartLevelChangeV3Args
ignore_start_state: boolean
up_down: boolean
color_component_id: integer

see SwitchColor.color_component_id

start_level: integer

[0,255]

duration: number or str

[0,7620] or “default”