# ActionsTrait


```
@Generated(value = ["GoogleHomePlatformCodegen"])
object ActionsTrait
```

<br />

*** ** * ** ***

Attributes for ActionsTrait.

## Summary

| ### Nested types |
|---|
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ActionErrorEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` Error types. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ActionFailed : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Indicates that the action failed to complete as intended. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ActionStateEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` Action state. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ActionStruct : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The details of a single action. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ActionStruct.StructFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this struct's fields. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ActionTypeEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` Action types. |
| `@https://developers.home.google.com/reference/kotlin/javax/annotation/processing/Generated(value = ["GoogleHomePlatformCodegen"]) interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.Attributes : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Attributes for the Actions cluster. |
| `data class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits` Bitmap indicating which commands are supported. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Disable an action. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionCommand.OptionalArgs` Optional arguments for the command DisableActionCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the DisableAction command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionWithDurationCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Disable an action for a specified amount of time, then enable it. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionWithDurationCommand.OptionalArgs` Optional arguments for the command DisableActionWithDurationCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionWithDurationCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the DisableActionWithDuration command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionWithDurationCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Enable an action. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionCommand.OptionalArgs` Optional arguments for the command EnableActionCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the EnableAction command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionWithDurationCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Enable an action for a specified amount of time, then disable it. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionWithDurationCommand.OptionalArgs` Optional arguments for the command EnableActionWithDurationCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionWithDurationCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the EnableActionWithDuration command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionWithDurationCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EndpointListStruct : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The details of a single endpoint list, a set of endpoints that have some logical relation. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EndpointListStruct.StructFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this struct's fields. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EndpointListTypeEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` Type of endpoint list. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.Feature` |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Trigger an action (state change) on endpoints in an asynchronous manner. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionCommand.OptionalArgs` Optional arguments for the command InstantActionCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the InstantAction command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionWithTransitionCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Trigger an action (state change) on endpoints, specifying how long the state change should take. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionWithTransitionCommand.OptionalArgs` Optional arguments for the command InstantActionWithTransitionCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionWithTransitionCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the InstantActionWithTransition command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionWithTransitionCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Pause an ongoing action. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionCommand.OptionalArgs` Optional arguments for the command PauseActionCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the PauseAction command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionWithDurationCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Pause an ongoing action for a specified amount of time, after which it resumes. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionWithDurationCommand.OptionalArgs` Optional arguments for the command PauseActionWithDurationCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionWithDurationCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the PauseActionWithDuration command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionWithDurationCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ResumeActionCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Resume a paused action. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ResumeActionCommand.OptionalArgs` Optional arguments for the command ResumeActionCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ResumeActionCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the ResumeAction command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ResumeActionCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Start an action. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionCommand.OptionalArgs` Optional arguments for the command StartActionCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the StartAction command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionWithDurationCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Start an action, allow it to run for a specified amount of time, after which it stops. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionWithDurationCommand.OptionalArgs` Optional arguments for the command StartActionWithDurationCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionWithDurationCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the StartActionWithDuration command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionWithDurationCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StateChanged : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The state of an action changed during execution of a command, and the most recent command using the `actionId` populated the `invokeId` attribute. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StopActionCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Stop the ongoing action. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StopActionCommand.OptionalArgs` Optional arguments for the command StopActionCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StopActionCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the StopAction command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StopActionCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterId` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait#Id()` |

## Public properties

### Id

```
val Id: ClusterId
```