ThermostatTrait.OccupancyBitmap

data class ThermostatTrait.OccupancyBitmap


Indicates the sensed occupancy state.

Summary

Public constructors

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

Indicates the sensed occupancy state.

String

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

Public constructors

OccupancyBitmap

OccupancyBitmap(occupied: Boolean = false)

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

occupied

val occupiedBoolean

Indicates the sensed occupancy state.

traitId

val traitIdString

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