Set

class st.zwave.CommandClass.ThermostatMode.Set

Dynamically versioned THERMOSTAT_MODE_SET

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

cmd_class: number

0x40

cmd_id: number

0x01

version: number

1,3

args: st.zwave.CommandClass.ThermostatMode.SetV1Args or st.zwave.CommandClass.ThermostatMode.SetV3Args
construct(module, args)

Construct a THERMOSTAT_MODE_SET object at the module instance serialization version.

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

  • args (st.zwave.CommandClass.ThermostatMode.SetV1Args or st.zwave.CommandClass.ThermostatMode.SetV3Args) – command-specific arguments

Return type

st.zwave.CommandClass.ThermostatMode.Set

class st.zwave.CommandClass.ThermostatMode.SetV1: st.zwave.Command

v1 and forward-compatible v2 THERMOSTAT_MODE_SET

cmd_class: number

0x40

cmd_id: number

0x01

version: number

1

args: st.zwave.CommandClass.ThermostatMode.SetV1Args

command-specific arguments

init(module, args)

Initialize a v1 and forward-compatible v2 THERMOSTAT_MODE_SET object.

Parameters
serialize()

Serialize v1 or forward-compatible v2 THERMOSTAT_MODE_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 or forward-compatible v2 THERMOSTAT_MODE_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.ThermostatMode.SetV1Args

class st.zwave.CommandClass.ThermostatMode.SetV1Args
mode: integer

see ThermostatMode.mode

class st.zwave.CommandClass.ThermostatMode.SetV3: st.zwave.Command

v3 THERMOSTAT_MODE_SET

cmd_class: number

0x40

cmd_id: number

0x01

version: number

3

args: st.zwave.CommandClass.ThermostatMode.SetV3Args

command-specific arguments

init(module, args)

Initialize a v3 THERMOSTAT_MODE_SET object.

Parameters
serialize()

Serialize v3 THERMOSTAT_MODE_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v3 THERMOSTAT_MODE_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.ThermostatMode.SetV3Args

class st.zwave.CommandClass.ThermostatMode.SetV3Args
mode: integer

see ThermostatMode.mode

manufacturer_data: str