ExtendedFanControlTrait.FanControlFeature

data class ExtendedFanControlTrait.FanControlFeature


ExtendedFanControl trait feature map.

Summary

Public constructors

FanControlFeature(supportsFanSpeedPercent: Boolean)

Creates the FanControlFeature 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

Whether this device accepts commands for adjusting the speed using a percentage from 0.0 to 100.0.

String

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

Public constructors

FanControlFeature

FanControlFeature(supportsFanSpeedPercent: Boolean = false)

Creates the FanControlFeature 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.

supportsFanSpeedPercent

val supportsFanSpeedPercentBoolean

Whether this device accepts commands for adjusting the speed using a percentage from 0.0 to 100.0.

traitId

val traitIdString

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