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 instanceargs (
st.zwave.CommandClass.SwitchColor.ReportV1Args or st.zwave.CommandClass.SwitchColor.ReportV3Args) – command-specific arguments
- Return type:
- 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:
module (
st.zwave.CommandClass.SwitchColor) – command class module instanceargs (
st.zwave.CommandClass.SwitchColor.ReportV1Args) – command-specific arguments
- 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:
- class st.zwave.CommandClass.SwitchColor.ReportV1Args¶
- color_component_id: integer¶
- 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:
module (
st.zwave.CommandClass.SwitchColor) – command class module instanceargs (
st.zwave.CommandClass.SwitchColor.ReportV3Args) – command-specific arguments
- 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: