Report

class st.zwave.CommandClass.SwitchColor.Report

Dynamically versioned SWITCH_COLOR_REPORT

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

cmd_class: number

0x33

cmd_id: number

0x04

version: number

1,3

args: st.zwave.CommandClass.SwitchColor.ReportV1Args or st.zwave.CommandClass.SwitchColor.ReportV3Args
construct(module, args)

Construct a SWITCH_COLOR_REPORT object at the module instance serialization version.

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

  • args (st.zwave.CommandClass.SwitchColor.ReportV1Args or st.zwave.CommandClass.SwitchColor.ReportV3Args) – command-specific arguments

Return type

st.zwave.CommandClass.SwitchColor.Report

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

v1 and forward-compatible v2 SWITCH_COLOR_REPORT

cmd_class: number

0x33

cmd_id: number

0x04

version: number

1

args: st.zwave.CommandClass.SwitchColor.ReportV1Args

command-specific arguments

init(module, args)

Initialize a v1 and forward-compatible v2 SWITCH_COLOR_REPORT object.

Parameters
serialize()

Serialize v1 or forward-compatible v2 SWITCH_COLOR_REPORT arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 or forward-compatible v2 SWITCH_COLOR_REPORT payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.SwitchColor.ReportV1Args

class st.zwave.CommandClass.SwitchColor.ReportV1Args
color_component_id: integer

see SwitchColor.color_component_id

value: integer

[0,255]

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

v3 SWITCH_COLOR_REPORT

cmd_class: number

0x33

cmd_id: number

0x04

version: number

3

args: st.zwave.CommandClass.SwitchColor.ReportV3Args

command-specific arguments

init(module, args)

Initialize a v3 SWITCH_COLOR_REPORT object.

Parameters
serialize()

Serialize v3 SWITCH_COLOR_REPORT arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v3 SWITCH_COLOR_REPORT payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.SwitchColor.ReportV3Args

class st.zwave.CommandClass.SwitchColor.ReportV3Args
color_component_id: integer

see SwitchColor.color_component_id

current_value: integer

[0,255]

target_value: integer

[0,255]

duration: number or str

[0,7560] or “unknown” or “reserved”