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

String

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

Boolean

Use actual temperature numbers, in Celsius.

Boolean

Use vendor-specific temperature levels.

Boolean

Use step control with temperature numbers.

String

Trait identifier of the Matter Cluster that defines the bitmap Data Type.

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

bitmapName

val bitmapNameString

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

temperatureLevel

val temperatureLevelBoolean

Use actual temperature numbers, in Celsius.

temperatureNumber

val temperatureNumberBoolean

Use vendor-specific temperature levels.

temperatureStep

val temperatureStepBoolean

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.

traitId

val traitIdString

Trait identifier of the Matter Cluster that defines the bitmap Data Type. Refer to ClusterId.traitId for the format.