WindowCoveringTrait.ConfigStatus

data class WindowCoveringTrait.ConfigStatus


Configuration and status information for the WindowCovering.

Summary

Public constructors

ConfigStatus(
    operational: Boolean,
    onlineReserved: Boolean,
    liftMovementReversed: Boolean,
    liftPositionAware: Boolean,
    tiltPositionAware: Boolean,
    liftEncoderControlled: Boolean,
    tiltEncoderControlled: Boolean
)

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

When set to true, the window covering uses an encoder to set the height.

Boolean

When set to true, lift movement is reversed.

Boolean

When set to true, the lift control is position-aware.

Boolean

Deprecated.

Boolean

When set to true, the window covering is operational.

Boolean

When set to true, the window covering uses an encoder to set the tilt angle.

Boolean

When set to true, the tilt control is position-aware.

String

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

Public constructors

ConfigStatus

ConfigStatus(
    operational: Boolean = false,
    onlineReserved: Boolean = false,
    liftMovementReversed: Boolean = false,
    liftPositionAware: Boolean = false,
    tiltPositionAware: Boolean = false,
    liftEncoderControlled: Boolean = false,
    tiltEncoderControlled: Boolean = false
)

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

liftEncoderControlled

val liftEncoderControlledBoolean

When set to true, the window covering uses an encoder to set the height. When set to false, the window covering doesn't use an encoder to set the height.

liftMovementReversed

val liftMovementReversedBoolean

When set to true, lift movement is reversed. When set to false, the lift movement is in the normal direction.

liftPositionAware

val liftPositionAwareBoolean

When set to true, the lift control is position-aware. When set to false, the lift control isn't position-aware.

onlineReserved

val onlineReservedBoolean

Deprecated.

operational

val operationalBoolean

When set to true, the window covering is operational. When set to false, the window covering is not operational.

tiltEncoderControlled

val tiltEncoderControlledBoolean

When set to true, the window covering uses an encoder to set the tilt angle. When set to false, the window covering doesn't use an encoder to set the tilt angle.

tiltPositionAware

val tiltPositionAwareBoolean

When set to true, the tilt control is position-aware. When set to false, the tilt control isn't position-aware.

traitId

val traitIdString

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