OnOffTrait.Feature

data class OnOffTrait.Feature : ClusterBitmap


OnOff cluster FeatureMap.

Summary

Public constructors

Feature(lighting: Boolean, deadFrontBehavior: Boolean, offOnly: Boolean)

Creates the Feature data class.

Public functions

open ULong

Public properties

Boolean

Device supports dead front behavior when the onOff attribute is false.

Boolean

Device has behavior that supports lighting apps.

Boolean

Public constructors

Feature

Feature(
    lighting: Boolean = false,
    deadFrontBehavior: Boolean = false,
    offOnly: Boolean = false
)

Creates the Feature data class.

Public functions

toRaw

open fun toRaw(): ULong

Public properties

deadFrontBehavior

val deadFrontBehaviorBoolean

Device supports dead front behavior when the onOff attribute is false.

lighting

val lightingBoolean

Device has behavior that supports lighting apps.

offOnly

val offOnlyBoolean