ThermostatTrait.SetpointRaiseLowerCommand.Request

class ThermostatTrait.SetpointRaiseLowerCommand.Request


The request payload for the SetpointRaiseLower command.

Summary

Public constructors

Creates a request payload for the SetpointRaiseLower command.

Public properties

Byte

The amount (possibly negative) that should be added to the setpoint(s), in steps of 0.1°C.

ThermostatTrait.SetpointRaiseLowerModeEnum

The setpoint(s) to be adjusted.

Public constructors

Request

Request(
    mode: ThermostatTrait.SetpointRaiseLowerModeEnum = SetpointRaiseLowerModeEnum.Heat,
    amount: Byte = 0
)

Creates a request payload for the SetpointRaiseLower command.

Public properties

amount

val amountByte

The amount (possibly negative) that should be added to the setpoint(s), in steps of 0.1°C.

mode

val modeThermostatTrait.SetpointRaiseLowerModeEnum

The setpoint(s) to be adjusted. Valid values are defined by SetpointRaiseLowerModeEnum.