WindowCoveringTrait.Mode

data class WindowCoveringTrait.Mode : ClusterBitmap


Can be used to configure the window covering by enabling or disabling various modes and capabilities.

Summary

Public constructors

Mode(
    motorDirectionReversed: Boolean,
    calibrationMode: Boolean,
    maintenanceMode: Boolean,
    ledFeedback: Boolean
)

Creates the Mode data class.

Public functions

open ULong

Public properties

Boolean

When set to true, the window covering is in calibration mode.

Boolean

When set to true, the LEDs display feedback.

Boolean

When set to true, the window covering is in maintenance mode.

Boolean

When set to true, the lift movement is reversed.

Public constructors

Mode

Mode(
    motorDirectionReversed: Boolean = false,
    calibrationMode: Boolean = false,
    maintenanceMode: Boolean = false,
    ledFeedback: Boolean = false
)

Creates the Mode data class.

Public functions

toRaw

open fun toRaw(): ULong

Public properties

calibrationMode

val calibrationModeBoolean

When set to true, the window covering is in calibration mode. When set to false, the window covering is in normal mode.

ledFeedback

val ledFeedbackBoolean

When set to true, the LEDs display feedback. When set to false, the LEDs are off.

maintenanceMode

val maintenanceModeBoolean

When set to true, the window covering is in maintenance mode. When set to false, the window covering is in normal mode.

motorDirectionReversed

val motorDirectionReversedBoolean

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