# ThermostatTrait.ScheduleModeBitmap

# ThermostatTrait.ScheduleModeBitmap


```
data class ThermostatTrait.ScheduleModeBitmap
```

<br />

*** ** * ** ***

How the app decodes the setpoint fields of each transition.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.ScheduleModeBitmap#ScheduleModeBitmap(kotlin.Boolean,kotlin.Boolean)( heatSetpointPresent: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, coolSetpointPresent: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html )` Creates the ScheduleModeBitmap data class. |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.ScheduleModeBitmap#toRaw()()` Convert this ClusterBitmap to raw (bytes) format |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.ScheduleModeBitmap#coolSetpointPresent()` The `coolSetpoint` field is present in the payload. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.ScheduleModeBitmap#heatSetpointPresent()` The `heatSetpoint` field is present in the payload. |

## 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

### coolSetpointPresent

```
val coolSetpointPresent: Boolean
```

The `coolSetpoint` field is present in the payload.

### heatSetpointPresent

```
val heatSetpointPresent: Boolean
```

The `heatSetpoint` field is present in the payload.