# ValveConfigurationAndControlTrait.ValveFault

# ValveConfigurationAndControlTrait.ValveFault


```
interface ValveConfigurationAndControlTrait.ValveFault : ClusterStruct
```

<br />

Known direct subclasses [ValveConfigurationAndControl.ValveFaultEvent](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ValveConfigurationAndControl.ValveFaultEvent)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ValveConfigurationAndControl.ValveFaultEvent` |   |

*** ** * ** ***

The valve either registered or cleared a fault, such as when the valve isn't able to transition to the requested target level or state.

## Summary

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ValveConfigurationAndControlTrait.ValveFault#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ValveConfigurationAndControlTrait.ValveFault#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ValveConfigurationAndControlTrait.ValveFaultBitmap?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ValveConfigurationAndControlTrait.ValveFault#valveFault()` The value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ValveConfigurationAndControlTrait.Attributes#valveFault()` attribute, at the time this event is generated. |

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### valveFault

```
val valveFault: ValveConfigurationAndControlTrait.ValveFaultBitmap?
```

The value of the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ValveConfigurationAndControlTrait.Attributes#valveFault()` attribute, at the time this event is generated.