OpenCloseTrait.OpenCloseFeature

data class OpenCloseTrait.OpenCloseFeature : ClusterBitmap


OpenClose trait FeatureMap.

Summary

Public constructors

OpenCloseFeature(supportsDiscreteOnlyOpenClose: Boolean)

Creates the OpenCloseFeature data class.

Public functions

open ULong

Public properties

Boolean

Indicates whether this device supports discrete states only, which means the device must either be fully open or fully closed and it does not support values between 0% and 100%.

Public constructors

OpenCloseFeature

OpenCloseFeature(supportsDiscreteOnlyOpenClose: Boolean = false)

Creates the OpenCloseFeature data class.

Public functions

toRaw

open fun toRaw(): ULong

Public properties

supportsDiscreteOnlyOpenClose

val supportsDiscreteOnlyOpenCloseBoolean

Indicates whether this device supports discrete states only, which means the device must either be fully open or fully closed and it does not support values between 0% and 100%.