# MicrowaveOvenControlTrait.Feature

# MicrowaveOvenControlTrait.Feature


```
data class MicrowaveOvenControlTrait.Feature
```

<br />

*** ** * ** ***

MicrowaveOvenControl cluster FeatureMap.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Feature#Feature(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)( powerAsNumber: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, powerInWatts: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, powerNumberLimits: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html )` Creates the Feature 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/MicrowaveOvenControlTrait.Feature#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/MicrowaveOvenControlTrait.Feature#powerAsNumber()` Power is specified as a unitless number or a percentage. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Feature#powerInWatts()` Power is specified in watts. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Feature#powerNumberLimits()` Supports the limit attributes used with the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Feature#powerAsNumber()` feature. |

## Public constructors

### Feature

```
Feature(
    powerAsNumber: Boolean = false,
    powerInWatts: Boolean = false,
    powerNumberLimits: Boolean = false
)
```

Creates the Feature data class.

## Public functions

### toRaw

```
open fun toRaw(): ULong
```

Convert this ClusterBitmap to raw (bytes) format

## Public properties

### powerAsNumber

```
val powerAsNumber: Boolean
```

Power is specified as a unitless number or a percentage.

### powerInWatts

```
val powerInWatts: Boolean
```

Power is specified in watts.

### powerNumberLimits

```
val powerNumberLimits: Boolean
```

Supports the limit attributes used with the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Feature#powerAsNumber()` feature.