ThermostatTrait.ScheduleModeBitmap

data class ThermostatTrait.ScheduleModeBitmap


How the app decodes the setpoint fields of each transition.

Summary

Public constructors

ScheduleModeBitmap(
    heatSetpointPresent: Boolean,
    coolSetpointPresent: Boolean
)

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

The coolSetpoint field is present in the payload.

Boolean

The heatSetpoint field is present in the payload.

String

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

Public constructors

ScheduleModeBitmap

ScheduleModeBitmap(
    heatSetpointPresent: Boolean = false,
    coolSetpointPresent: Boolean = false
)

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

coolSetpointPresent

val coolSetpointPresentBoolean

The coolSetpoint field is present in the payload.

heatSetpointPresent

val heatSetpointPresentBoolean

The heatSetpoint field is present in the payload.

traitId

val traitIdString

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