FanControlTrait.Feature

data class FanControlTrait.Feature


FanControl cluster FeatureMap.

Summary

Public constructors

Feature(
    multiSpeed: Boolean,
    auto: Boolean,
    rocking: Boolean,
    wind: Boolean,
    step: Boolean,
    airflowDirection: Boolean
)

Creates the Feature data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean

Supports air flow direction.

Boolean

Supports automatic fan speed mode.

String

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

Boolean

Supports 1-100 speeds.

Boolean

Supports rocking movement.

Boolean

Supports fan speeds in steps.

String

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

Boolean

Supports wind emulation.

Public constructors

Feature

Feature(
    multiSpeed: Boolean = false,
    auto: Boolean = false,
    rocking: Boolean = false,
    wind: Boolean = false,
    step: Boolean = false,
    airflowDirection: Boolean = false
)

Creates the Feature data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

airflowDirection

val airflowDirectionBoolean

Supports air flow direction.

auto

val autoBoolean

Supports automatic fan speed mode.

bitmapName

val bitmapNameString

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

multiSpeed

val multiSpeedBoolean

Supports 1-100 speeds.

rocking

val rockingBoolean

Supports rocking movement.

step

val stepBoolean

Supports fan speeds in steps.

traitId

val traitIdString

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

wind

val windBoolean

Supports wind emulation.