ThermostatTrait.PresetStruct

class ThermostatTrait.PresetStruct


Summary

Public constructors

PresetStruct(
    presetHandle: ByteArray?,
    presetScenario: ThermostatTrait.PresetScenarioEnum,
    name: OptionalValue<String?>,
    coolingSetpoint: OptionalValue<Short>,
    heatingSetpoint: OptionalValue<Short>,
    builtIn: Boolean?
)

Public constructors

PresetStruct

PresetStruct(
    presetHandle: ByteArray? = null,
    presetScenario: ThermostatTrait.PresetScenarioEnum = PresetScenarioEnum.Unspecified,
    name: OptionalValue<String?> = OptionalValue.absent(),
    coolingSetpoint: OptionalValue<Short> = OptionalValue.absent(),
    heatingSetpoint: OptionalValue<Short> = OptionalValue.absent(),
    builtIn: Boolean? = null
)

Public properties

builtIn

val builtInBoolean?

coolingSetpoint

val coolingSetpointOptionalValue<Short>

heatingSetpoint

val heatingSetpointOptionalValue<Short>

name

val nameOptionalValue<String?>

presetHandle

val presetHandleByteArray?