TemperatureControlTrait.Feature

data class TemperatureControlTrait.Feature


TemperatureControl cluster FeatureMap.

Summary

Public constructors

Feature(
    temperatureNumber: Boolean,
    temperatureLevel: Boolean,
    temperatureStep: Boolean
)

Creates the Feature data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean

Use actual temperature numbers, in Celsius.

Boolean

Use vendor-specific temperature levels.

Boolean

Use step control with temperature numbers.

Public constructors

Feature

Feature(
    temperatureNumber: Boolean = false,
    temperatureLevel: Boolean = false,
    temperatureStep: Boolean = false
)

Creates the Feature data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

temperatureLevel

val temperatureLevel: Boolean

Use actual temperature numbers, in Celsius.

temperatureNumber

val temperatureNumber: Boolean

Use vendor-specific temperature levels.

temperatureStep

val temperatureStep: Boolean

Use step control with temperature numbers. This feature is for devices that support discrete temperature setpoints that are larger than the temperature resolution imposed by the temperature data type.