ActionsTrait.InstantActionCommand

object ActionsTrait.InstantActionCommand : CommandDescriptor


Trigger an action (state change) on endpoints in an asynchronous manner.

See also
instantAction

Use this command from the trait(Actions) method.

Summary

Nested types

Optional arguments for the command InstantActionCommand Request

The request payload for the InstantAction command.

Descriptor enum for this command's request fields.

Public properties

open String

Unique id corresponding to the command.

Public functions

getCommandRequestFieldById

@HomeExperimentalApi
open fun getCommandRequestFieldById(tagId: UInt): Field?

getCommandRequestFieldByName

@HomeExperimentalApi
open fun getCommandRequestFieldByName(name: String): Field?

Public properties

commandId

open val commandIdString

Unique id corresponding to the command.